config

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TexitEndpointEnvVar = "TEXIT_ENDPOINT"
	TexitApiKeyEnvVar   = "TEXIT_API_KEY"
)

Variables

View Source
var (
	ErrMissingAddress = errors.New("missing texit address")
	ErrMissingApiKey  = errors.New("missing texit apiKey")
)

Functions

This section is empty.

Types

type ApiConfig

type ApiConfig struct {
	Address string `yaml:"address"`
	ApiKey  string `yaml:"apiKey"`
}

Configuration to connect to the API server

func (*ApiConfig) Validate added in v0.0.3

func (c *ApiConfig) Validate() error

Jump to

Keyboard shortcuts

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