Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCorgeEchoStringHandler ¶
func NewCorgeEchoStringHandler(f CorgeEchoStringFunc) zanzibar.TChannelHandler
NewCorgeEchoStringHandler wraps a handler function so it can be registered with a thrift server.
Types ¶
type Client ¶
type Client interface { EchoString( ctx context.Context, reqHeaders map[string]string, args *clientsCorgeCorge.Corge_EchoString_Args, ) (string, map[string]string, error) }
Client defines corge client interface.
func NewClient ¶
func NewClient(deps *module.Dependencies) Client
NewClient returns a new TChannel client for service corge.
type CorgeEchoStringFunc ¶
type CorgeEchoStringFunc func( ctx context.Context, reqHeaders map[string]string, args *clientsCorgeCorge.Corge_EchoString_Args, ) (string, map[string]string, error)
CorgeEchoStringFunc is the handler function for "echoString" method of thrift service "Corge".
type CorgeEchoStringHandler ¶
type CorgeEchoStringHandler struct {
// contains filtered or unexported fields
}
CorgeEchoStringHandler handles the "echoString" method call of thrift service "Corge".
Directories ¶
Path | Synopsis |
---|---|
Package clientmock is a generated GoMock package.
|
Package clientmock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.