Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Echo( ctx context.Context, Token *string, opts ...yarpc.CallOption, ) (yarpc.Ack, error) }
Interface is a client for the Oneway service.
func New ¶
func New(c transport.ClientConfig, opts ...thrift.ClientOption) Interface
New builds a new client for the Oneway service.
client := onewayclient.New(dispatcher.ClientConfig("oneway"))
Click to show internal directories.
Click to hide internal directories.