rpc/gateway/servlet_handlers.go

17 lines
386 B
Go
Raw Normal View History

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