21 lines
382 B
Go
21 lines
382 B
Go
package gateway
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"git.loafle.net/commons_go/rpc"
|
|
)
|
|
|
|
type ServerHandlers struct {
|
|
rpc.ServerHandlers
|
|
}
|
|
|
|
func (sh *ServerHandlers) Invoke(method string, params []byte) (result interface{}, err error) {
|
|
|
|
return nil, errors.New("Server: Handler method[Invoke] of Server is not implement")
|
|
}
|
|
|
|
func (sh *ServerHandlers) Validate() {
|
|
sh.ServerHandlers.Validate()
|
|
}
|