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,
Echo *echo.EchoRequest,
opts ...yarpc.CallOption,
) (*echo.EchoResponse, error)
}
Interface is a client for the Hello service.
func New ¶
func New(c transport.ClientConfig, opts ...thrift.ClientOption) Interface
New builds a new client for the Hello service.
client := helloclient.New(dispatcher.ClientConfig("hello"))
Click to show internal directories.
Click to hide internal directories.