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)
Click to show internal directories.
Click to hide internal directories.