From 8e6981767b6bc5f5b0df1a33c287db668fa73e7d Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 29 Nov 2017 01:40:03 +0900 Subject: [PATCH] ing --- servlet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servlet.go b/servlet.go index e0c6bda..fcebecc 100644 --- a/servlet.go +++ b/servlet.go @@ -11,13 +11,13 @@ import ( cuc "git.loafle.net/commons_go/util/context" ) -func NewServlet(sh ServletHandler) RPCServlet { +func NewServlet(sh ServletHandler) Servlet { return &rpcServlet{ sh: sh, } } -type RPCServlet interface { +type Servlet interface { Start(parentCTX cuc.Context, conn interface{}, doneChan chan<- error) error Stop()