Documentation ¶
Index ¶
- type ClientOption
- func WithBlock() ClientOption
- func WithCertFile(certFile string) ClientOption
- func WithInsecure() ClientOption
- func WithKeepaliveParams(keepaliveParams keepalive.ClientParameters) ClientOption
- func WithRpcCredentials(rpcCredentials credentials.PerRPCCredentials) ClientOption
- func WithSkipVerify() ClientOption
- func WithTransportCredentials(transportCredentials credentials.TransportCredentials) ClientOption
- type ClientOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
type ClientOption func(*ClientOptions)
func WithBlock ¶
func WithBlock() ClientOption
func WithCertFile ¶
func WithCertFile(certFile string) ClientOption
func WithInsecure ¶
func WithInsecure() ClientOption
func WithKeepaliveParams ¶
func WithKeepaliveParams(keepaliveParams keepalive.ClientParameters) ClientOption
func WithRpcCredentials ¶
func WithRpcCredentials(rpcCredentials credentials.PerRPCCredentials) ClientOption
func WithSkipVerify ¶
func WithSkipVerify() ClientOption
func WithTransportCredentials ¶
func WithTransportCredentials(transportCredentials credentials.TransportCredentials) ClientOption
type ClientOptions ¶
type ClientOptions struct {
// contains filtered or unexported fields
}
func (*ClientOptions) Options ¶
func (c *ClientOptions) Options() (options []grpc.DialOption, err error)
Click to show internal directories.
Click to hide internal directories.