grpcconn

package
v0.0.0-...-7398596 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 5 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 {
	Client serverpb.ServerClient
	// 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()

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