overflow_discovery/server/server.go
crusader c4e482999b ing
2017-11-01 15:35:03 +09:00

16 lines
234 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.New(sh)
return s
}