grpc

package
v0.0.0-...-074b23b Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build() fx.Option

Types

type GrpcClient

type GrpcClient interface {
	Connection() *grpc.ClientConn
	// contains filtered or unexported methods
}

GrpcClient represents a gRPC client interface.

type GrpcConfig

type GrpcConfig struct {
	Host string `envconfig:"GRPC_HOST" required:"true" desc:"The hostname or IP address of the gRPC server"`
	Port string `envconfig:"GRPC_PORT" required:"true" desc:"The port number on which the gRPC server is listening"`
}

GrpcConfig represents environment variable configuration parameters for grpc.

type GrpcServer

type GrpcServer interface {
	// contains filtered or unexported methods
}

GrpcServer represents a gRPC server interface.

Jump to

Keyboard shortcuts

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