Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeProdvanaConnection ¶
func MakeProdvanaConnection(options ConnectionOptions) (*grpc.ClientConn, error)
Types ¶
type ConnectionOptions ¶
type ConnectionOptions struct { Address string // Prodvana server address AuthToken string // Prodvana api token GetAuthToken func() string // same as AuthToken, but for tokens that may change/need to be computed AuthTokenPtr *string // save as AuthToken but passes a pointer, for tokens that need to be updated in process SkipTls bool // exposed for testing purposes only NoAuth bool // exposed for internal purposes only ExtraDialOptions []grpc.DialOption }
func DefaultConnectionOptions ¶
func DefaultConnectionOptions() ConnectionOptions
Click to show internal directories.
Click to hide internal directories.