Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Conn *grpc.ClientConn Opts *Option }
type Opt ¶
type Opt func(c *Option)
func WithCredentials ¶
func WithCredentials() Opt
func WithDisableTls ¶
func WithDisableTls() Opt
func WithDisablesCredentials ¶
func WithDisablesCredentials() Opt
func WithPerRPCCredentials ¶
func WithPerRPCCredentials(creds credentials.PerRPCCredentials) Opt
func WithTls ¶
func WithTls(creds credentials.TransportCredentials) Opt
type Option ¶
type Option struct { Uri string GrpcOpt []grpc.DialOption }
func DefaultOptions ¶
func DefaultOptions() *Option
Click to show internal directories.
Click to hide internal directories.