rpc/adapter/ipc/ipc.go
crusader 168c78690c ing
2017-10-26 21:37:28 +09:00

15 lines
232 B
Go

package ipc
import (
"git.loafle.net/commons_go/rpc"
"git.loafle.net/commons_go/server"
)
func NewServer(addr string, registry rpc.Registry) server.Server {
sh := NewServerHandler(addr)
s := server.NewServer(sh)
return s
}