rpc/gateway/servlet_handlers.go

17 lines
386 B
Go
Raw Normal View History

2017-11-26 10:15:51 +00:00
package gateway
import (
2017-12-01 07:29:32 +00:00
"fmt"
2017-11-26 10:15:51 +00:00
"git.loafle.net/commons_go/rpc"
2017-12-01 07:29:32 +00:00
"git.loafle.net/commons_go/rpc/protocol"
2017-11-26 10:15:51 +00:00
)
2017-11-28 10:17:59 +00:00
type ServletHandlers struct {
2017-11-26 10:15:51 +00:00
rpc.ServletHandlers
}
2017-12-01 07:29:32 +00:00
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")
}