bufapp

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 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 Config

type Config struct {
	TLS *tls.Config
}

Config is a config.

func NewConfig

func NewConfig(
	container appname.Container,
	externalConfig ExternalConfig,
) (*Config, error)

NewConfig returns a new Config for the ExternalConfig.

type ExternalConfig

type ExternalConfig struct {
	Version string                             `json:"version,omitempty" yaml:"version,omitempty"`
	TLS     certclient.ExternalClientTLSConfig `json:"tls,omitempty" yaml:"tls,omitempty"`
}

ExternalConfig is an external config.

func (ExternalConfig) IsEmpty

func (e ExternalConfig) IsEmpty() bool

IsEmpty returns true if the externalConfig is empty.

Jump to

Keyboard shortcuts

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