12 lines
240 B
Go
12 lines
240 B
Go
|
package gateway
|
||
|
|
||
|
import (
|
||
|
"git.loafle.net/commons_go/rpc/protocol"
|
||
|
"git.loafle.net/commons_go/rpc/server"
|
||
|
)
|
||
|
|
||
|
type RPCGetewayHandler interface {
|
||
|
server.RPCServerHandler
|
||
|
Handle(codecReq protocol.ServerCodecRequest) (interface{}, error)
|
||
|
}
|