This commit is contained in:
crusader 2017-11-29 01:40:03 +09:00
parent cb93d22188
commit 8e6981767b

View File

@ -11,13 +11,13 @@ import (
cuc "git.loafle.net/commons_go/util/context" cuc "git.loafle.net/commons_go/util/context"
) )
func NewServlet(sh ServletHandler) RPCServlet { func NewServlet(sh ServletHandler) Servlet {
return &rpcServlet{ return &rpcServlet{
sh: sh, sh: sh,
} }
} }
type RPCServlet interface { type Servlet interface {
Start(parentCTX cuc.Context, conn interface{}, doneChan chan<- error) error Start(parentCTX cuc.Context, conn interface{}, doneChan chan<- error) error
Stop() Stop()