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