rpc/gateway/servlet_handlers.go
crusader 8b1a5e3c74 ing
2017-12-01 16:29:32 +09:00

17 lines
386 B
Go

package gateway
import (
"fmt"
"git.loafle.net/commons_go/rpc"
"git.loafle.net/commons_go/rpc/protocol"
)
type ServletHandlers struct {
rpc.ServletHandlers
}
func (sh *ServletHandlers) Invoke(servletCTX rpc.ServletContext, requestCodec protocol.RegistryCodec) (result interface{}, err error) {
return nil, fmt.Errorf("RPC Gateway Servlet Handler: Invoke is not implemented")
}