options

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeepaliveOption

type KeepaliveOption struct {
	// contains filtered or unexported fields
}

func NewKeepaliveOption

func NewKeepaliveOption(time, timeout time.Duration) KeepaliveOption

func (KeepaliveOption) Build

func (opt KeepaliveOption) Build() grpc.DialOption

type TlsOption

type TlsOption struct {
	InsecureSkipVerify bool
}

func NewTlsOption

func NewTlsOption(InsecureSkipVerify bool) TlsOption

func (TlsOption) Build

func (opt TlsOption) Build() grpc.DialOption

type UserAgentOption

type UserAgentOption struct {
	// contains filtered or unexported fields
}

func NewUserAgentOption

func NewUserAgentOption(version string) UserAgentOption

func (UserAgentOption) Build

func (opt UserAgentOption) Build() grpc.DialOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL