Documentation ¶
Index ¶
- type CallMethodInfo
- func CallMethodInfoBidirectionalStream(service, name string) (info CallMethodInfo)
- func CallMethodInfoClientStream(service, name string) (info CallMethodInfo)
- func CallMethodInfoServerStream(service, name string) (info CallMethodInfo)
- func CallMethodInfoUnary(service, name string) (info CallMethodInfo)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallMethodInfo ¶
type CallMethodInfo struct { // Name of the service. Service string // Name of the RPC. Name string // contains filtered or unexported fields }
CallMethodInfo is an information about the RPC.
func CallMethodInfoBidirectionalStream ¶
func CallMethodInfoBidirectionalStream(service, name string) (info CallMethodInfo)
CallMethodInfoBidirectionalStream returns CallMethodInfo structure initialized for the bidirectional streaming RPC.
func CallMethodInfoClientStream ¶
func CallMethodInfoClientStream(service, name string) (info CallMethodInfo)
CallMethodInfoClientStream returns CallMethodInfo structure initialized for the client-side streaming RPC.
func CallMethodInfoServerStream ¶
func CallMethodInfoServerStream(service, name string) (info CallMethodInfo)
CallMethodInfoServerStream returns CallMethodInfo structure initialized for the server-side streaming RPC.
func CallMethodInfoUnary ¶
func CallMethodInfoUnary(service, name string) (info CallMethodInfo)
CallMethodInfoUnary returns CallMethodInfo structure initialized for the unary RPC.
func (CallMethodInfo) ClientStream ¶
func (c CallMethodInfo) ClientStream() bool
ClientStream checks if CallMethodInfo contains information about the client-side streaming RPC.
func (CallMethodInfo) ServerStream ¶
func (c CallMethodInfo) ServerStream() bool
ServerStream checks if CallMethodInfo contains information about the server-side streaming RPC.