grpcconn

package
v0.0.0-...-9a82e89 Latest Latest
Warning

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

Go to latest
Published: May 3, 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 GRPCClient

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

func NewGRPCClient

func NewGRPCClient() (*GRPCClient, error)

func NewGRPCClientWithConfig

func NewGRPCClientWithConfig(conf *GRPCConfig) (*GRPCClient, error)

func (*GRPCClient) Close

func (g *GRPCClient) Close()

func (*GRPCClient) SetupDatabase

func (g *GRPCClient) SetupDatabase(ctx context.Context, dbOemName, dbName, serviceUserName string) (*captensdkpb.DBSetupResponse, error)

type GRPCConfig

type GRPCConfig struct {
	CaptenServerAddress string `envconfig:"CAPTEN_SERVER_ADDRESS" required:"true"`
}

func NewGRPCConfig

func NewGRPCConfig() (*GRPCConfig, error)

Jump to

Keyboard shortcuts

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