Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestCheramiYARPC ¶
TestCheramiYARPC will create a yarpc client (using cherami transport), and issue an one way rpc call to the server To run this example, the cherami server(https://github.com/uber/cherami-server) needs to be started locally first And the destination(/test/dest) and consumer group(/test/dest_cg) needs to be created using cherami-cli
Types ¶
type ServerConfig ¶
type ServerConfig struct {
// contains filtered or unexported fields
}
ServerConfig is the configuration needed to create a ExampleService
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service demos a service that implements an oneway procedure(defined in thrift/example.thrift)
func NewService ¶
func NewService(config ServerConfig) *Service
NewService creates a example service
Click to show internal directories.
Click to hide internal directories.