diff --git a/transport/socket/servlet_handler.go b/transport/socket/servlet_handler.go deleted file mode 100644 index e532ca5..0000000 --- a/transport/socket/servlet_handler.go +++ /dev/null @@ -1,7 +0,0 @@ -package socket - -import "git.loafle.net/commons_go/rpc/server" - -type ServletHandler interface { - server.ServletHandler -} diff --git a/transport/socket/servlet_handlers.go b/transport/socket/servlet_handlers.go index fd82fda..1c5beaf 100644 --- a/transport/socket/servlet_handlers.go +++ b/transport/socket/servlet_handlers.go @@ -4,11 +4,9 @@ import ( "io" "git.loafle.net/commons_go/rpc/protocol" - "git.loafle.net/commons_go/rpc/server" ) type ServletHandlers struct { - server.ServletHandlers } func (sh *ServletHandlers) GetRequest(codec protocol.ServerCodec, reader interface{}) (protocol.ServerRequestCodec, error) { diff --git a/transport/websocket/fasthttp/servlet_handler.go b/transport/websocket/fasthttp/servlet_handler.go deleted file mode 100644 index 0d65810..0000000 --- a/transport/websocket/fasthttp/servlet_handler.go +++ /dev/null @@ -1,7 +0,0 @@ -package fasthttp - -import "git.loafle.net/commons_go/rpc/server" - -type ServletHandler interface { - server.ServletHandler -} diff --git a/transport/websocket/fasthttp/servlet_handlers.go b/transport/websocket/fasthttp/servlet_handlers.go index bc198e1..d14b518 100644 --- a/transport/websocket/fasthttp/servlet_handlers.go +++ b/transport/websocket/fasthttp/servlet_handlers.go @@ -4,12 +4,10 @@ import ( "fmt" "git.loafle.net/commons_go/rpc/protocol" - "git.loafle.net/commons_go/rpc/server" "git.loafle.net/commons_go/websocket_fasthttp/websocket" ) type ServletHandlers struct { - server.ServletHandlers } func (sh *ServletHandlers) GetRequest(codec protocol.ServerCodec, reader interface{}) (protocol.ServerRequestCodec, error) {