rpc/adapter/ipc/ipc.go
crusader 053ff9b2a2 ing
2017-10-26 21:39:00 +09:00

15 lines
242 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, registry)
s := server.NewServer(sh)
return s
}