This commit is contained in:
crusader 2017-11-26 23:33:06 +09:00
parent 2286a5021e
commit 7e1e196075
4 changed files with 0 additions and 18 deletions

View File

@ -1,7 +0,0 @@
package socket
import "git.loafle.net/commons_go/rpc/server"
type ServletHandler interface {
server.ServletHandler
}

View File

@ -4,11 +4,9 @@ import (
"io" "io"
"git.loafle.net/commons_go/rpc/protocol" "git.loafle.net/commons_go/rpc/protocol"
"git.loafle.net/commons_go/rpc/server"
) )
type ServletHandlers struct { type ServletHandlers struct {
server.ServletHandlers
} }
func (sh *ServletHandlers) GetRequest(codec protocol.ServerCodec, reader interface{}) (protocol.ServerRequestCodec, error) { func (sh *ServletHandlers) GetRequest(codec protocol.ServerCodec, reader interface{}) (protocol.ServerRequestCodec, error) {

View File

@ -1,7 +0,0 @@
package fasthttp
import "git.loafle.net/commons_go/rpc/server"
type ServletHandler interface {
server.ServletHandler
}

View File

@ -4,12 +4,10 @@ import (
"fmt" "fmt"
"git.loafle.net/commons_go/rpc/protocol" "git.loafle.net/commons_go/rpc/protocol"
"git.loafle.net/commons_go/rpc/server"
"git.loafle.net/commons_go/websocket_fasthttp/websocket" "git.loafle.net/commons_go/websocket_fasthttp/websocket"
) )
type ServletHandlers struct { type ServletHandlers struct {
server.ServletHandlers
} }
func (sh *ServletHandlers) GetRequest(codec protocol.ServerCodec, reader interface{}) (protocol.ServerRequestCodec, error) { func (sh *ServletHandlers) GetRequest(codec protocol.ServerCodec, reader interface{}) (protocol.ServerRequestCodec, error) {