Documentation ¶
Index ¶
- Variables
- func AuthTLS(t *tls.Config) client.Option
- func CallOptions(opts ...grpc.CallOption) client.CallOption
- func Codec(contentType string, c encoding.Codec) client.Option
- func DialOptions(opts ...grpc.DialOption) client.Option
- func NewClient(opts ...client.Option) client.Client
- func UserNumber()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultPoolMaxStreams maximum streams on a connections (20) DefaultPoolMaxStreams = 20 // DefaultPoolMaxIdle maximum idle conns of a pool (50) DefaultPoolMaxIdle = 50 // DefaultMaxRecvMsgSize maximum message that client can receive (100 MB) DefaultMaxRecvMsgSize = 1024 * 1024 * 100 // DefaultMaxSendMsgSize maximum message that client can send (100 MB) DefaultMaxSendMsgSize = 1024 * 1024 * 100 )
Functions ¶
func CallOptions ¶
func CallOptions(opts ...grpc.CallOption) client.CallOption
CallOptions to be used to configure gRPC call options
func DialOptions ¶
func DialOptions(opts ...grpc.DialOption) client.Option
DialOptions to be used to configure gRPC dial options
func UserNumber ¶
func UserNumber()
UserNumber fix unmarshal Number(8234567890123456789) to interface(8.234567890123457e+18)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.