This commit is contained in:
crusader 2017-10-26 21:13:48 +09:00
parent db8b6e524e
commit 2da8c2ca47

View File

@ -17,6 +17,13 @@ type Server interface {
Serve() error
}
func NewServer(sh ServerHandler) Server {
s := &server{
serverHandler: sh,
}
return s
}
type server struct {
serverHandler ServerHandler