ing
This commit is contained in:
parent
2286a5021e
commit
7e1e196075
|
@ -1,7 +0,0 @@
|
||||||
package socket
|
|
||||||
|
|
||||||
import "git.loafle.net/commons_go/rpc/server"
|
|
||||||
|
|
||||||
type ServletHandler interface {
|
|
||||||
server.ServletHandler
|
|
||||||
}
|
|
|
@ -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) {
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
package fasthttp
|
|
||||||
|
|
||||||
import "git.loafle.net/commons_go/rpc/server"
|
|
||||||
|
|
||||||
type ServletHandler interface {
|
|
||||||
server.ServletHandler
|
|
||||||
}
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user