rpc/server/server_handler.go

13 lines
226 B
Go
Raw Normal View History

2017-10-31 09:25:44 +00:00
package server
2017-11-08 06:35:27 +00:00
import (
"git.loafle.net/commons_go/rpc"
"git.loafle.net/commons_go/rpc/protocol"
)
2017-10-31 09:25:44 +00:00
type ServerHandler interface {
2017-11-08 06:35:27 +00:00
rpc.ServerHandler
Invoke(codec protocol.RegistryCodec) (result interface{}, err error)
2017-10-31 09:25:44 +00:00
}