Documentation ¶
Index ¶
- func AddList(list []string)
- func CpConfig(config *client.DialConfig) (c *client.DialConfig)
- func CreateBenchCall() func(interface{}) error
- func DefaultCb(ctx context.Context, in *pb.HelloRequest) (*pb.HelloReply, error)
- func NewClient(callCounts int, config *client.DialConfig) error
- func Newserver(port string, ...) (serverDone chan struct{})
- func Reinit()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CpConfig ¶
func CpConfig(config *client.DialConfig) (c *client.DialConfig)
func CreateBenchCall ¶
func CreateBenchCall() func(interface{}) error
func DefaultCb ¶
func DefaultCb(ctx context.Context, in *pb.HelloRequest) (*pb.HelloReply, error)
func Newserver ¶
func Newserver(port string, cb func(ctx context.Context, in *pb.HelloRequest) (*pb.HelloReply, error)) (serverDone chan struct{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.