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 { SimpleServiceCallHandler *SimpleServiceCallHandler SimpleServiceEchoHandler *SimpleServiceEchoHandler }
EndpointHandlers is a collection of individual endpoint handlers
type SimpleServiceCallHandler ¶
type SimpleServiceCallHandler struct { Deps *module.Dependencies // contains filtered or unexported fields }
SimpleServiceCallHandler is the handler for "SimpleService::Call".
func NewSimpleServiceCallHandler ¶
func NewSimpleServiceCallHandler(deps *module.Dependencies) *SimpleServiceCallHandler
NewSimpleServiceCallHandler creates a handler to be registered with a thrift server.
type SimpleServiceEchoHandler ¶ added in v0.2.0
type SimpleServiceEchoHandler struct { Deps *module.Dependencies // contains filtered or unexported fields }
SimpleServiceEchoHandler is the handler for "SimpleService::Echo".
func NewSimpleServiceEchoHandler ¶ added in v0.2.0
func NewSimpleServiceEchoHandler(deps *module.Dependencies) *SimpleServiceEchoHandler
NewSimpleServiceEchoHandler creates a handler to be registered with a thrift server.
func (*SimpleServiceEchoHandler) Handle ¶ added in v0.2.0
func (h *SimpleServiceEchoHandler) Handle( ctx context.Context, reqHeaders map[string]string, wireValue *wire.Value, ) (isSuccessful bool, response zanzibar.RWTStruct, headers map[string]string, e error)
Handle handles RPC call of "SimpleService::Echo".
Source Files ¶
Click to show internal directories.
Click to hide internal directories.