Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMethodDescriptor ¶ added in v0.4.0
func GetMethodDescriptor(call string, proto string) (mtd *desc.MethodDescriptor, err error)
func MakeRequest ¶
func MakeRequest(r ReqProtoConfig) (resp *dynamic.Message, err error)
Types ¶
type ReqProtoConfig ¶
type ReqProtoConfig struct { PackageName string ServiceName string MethodName string InputParams string MetaData string Host string Timeout time.Duration MethodDescriptor *desc.MethodDescriptor // contains filtered or unexported fields }
./grpctest --ProtoFile=aggregation.ProtoFile --ckall=pb.Aggregation.BatchRoomInfo --m='{"Aid":"1"}' --d='{"Rids":[20]}' --Host=10.1.41.166:50127
Click to show internal directories.
Click to hide internal directories.