grpcconfig

package
v0.48.3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPC added in v0.46.0

type GRPC struct {
	Endpoint  string `mapstructure:"endpoint"`
	ConnLimit int    `mapstructure:"conn_limit"`

	TLS TLS `mapstructure:"tls"`
}

GRPC contains configuration for a single gRPC endpoint.

func (*GRPC) Normalize added in v0.46.0

func (g *GRPC) Normalize()

Normalize sets default values for GRPC configuration.

type TLS

type TLS struct {
	Enabled     bool   `mapstructure:"enabled"`
	Certificate string `mapstructure:"certificate"`
	Key         string `mapstructure:"key"`
}

TLS contains configuration for TLS settings.

Jump to

Keyboard shortcuts

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