overflow_discovery/server/server.go
crusader 9775e5ea4e ing
2017-10-31 19:27:26 +09:00

16 lines
240 B
Go

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