Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServerOptions ¶
func GetServerOptions(factory ResponseFactory) []grpc.ServerOption
func GetStreamHadler ¶
func GetStreamHadler(factory ResponseFactory) grpc.StreamHandler
Types ¶
type ResponseFactory ¶
type ResponseFactory func(ctx context.Context, methodName string, reqData []byte) (interface{}, error)
func RespFactoryByTestcase ¶
Click to show internal directories.
Click to hide internal directories.