Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
Endpoint registers a request handler on a gateway
func NewEndpoint ¶
func NewEndpoint(deps *module.Dependencies) Endpoint
NewEndpoint returns a collection of endpoints that can be registered on a gateway
type EndpointHandlers ¶
type EndpointHandlers struct {
SimpleServiceAnotherCallHandler *SimpleServiceAnotherCallHandler
}
EndpointHandlers is a collection of individual endpoint handlers
type SimpleServiceAnotherCallHandler ¶
type SimpleServiceAnotherCallHandler struct { Deps *module.Dependencies // contains filtered or unexported fields }
SimpleServiceAnotherCallHandler is the handler for "SimpleService::AnotherCall".
func NewSimpleServiceAnotherCallHandler ¶
func NewSimpleServiceAnotherCallHandler(deps *module.Dependencies) *SimpleServiceAnotherCallHandler
NewSimpleServiceAnotherCallHandler creates a handler to be registered with a thrift server.
func (*SimpleServiceAnotherCallHandler) Handle ¶
func (h *SimpleServiceAnotherCallHandler) Handle( ctx context.Context, reqHeaders map[string]string, sr stream.Reader, ) (ctxRes context.Context, isSuccessful bool, response zanzibar.RWTStruct, headers map[string]string, e error)
Handle handles RPC call of "SimpleService::AnotherCall".
Click to show internal directories.
Click to hide internal directories.