config

package
v0.0.0-...-fb0e841 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfManagerConfig

type ConfManagerConfig struct {
	HTTPPort       int32  `yaml:"HTTPPort,omitempty"`
	GRPCPort       int32  `yaml:"GRPCPort,omitempty"`
	ConnectTimeout int    `yaml:"connectTimeout,omitempty"`
	ReadTimeout    int    `yaml:"readTimeout,omitempty"`
	WriteTimeout   int    `yaml:"writeTimeout,omitempty"`
	IdleTimeout    int    `yaml:"idleTimeout,omitempty"`
	EnableConfAuth bool   `yaml:"enableConfAuth,omitempty"`
	Backend        string `yaml:"backend,omitempty"`

	DomainID        string                     `yaml:"-"`
	DomainKey       *rsa.PrivateKey            `yaml:"-"`
	BackendDriver   secretbackend.SecretDriver `yaml:"-"`
	TLS             config.TLSServerConfig     `yaml:"-"`
	DomainCertValue *atomic.Value              `yaml:"-"`
	IsMaster        bool                       `yaml:"-"`
}

func NewDefaultConfManagerConfig

func NewDefaultConfManagerConfig() *ConfManagerConfig

func (*ConfManagerConfig) MustTLSEnables

func (c *ConfManagerConfig) MustTLSEnables(errs *errorcode.Errs)

type SAN

type SAN struct {
	DNSNames []string `yaml:"dnsNames"`
	IPs      []string `yaml:"ips"`
}

Jump to

Keyboard shortcuts

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