config

package
v0.0.0-...-2413718 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 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 ClientConfig

type ClientConfig struct {
	ServerAddress string `yaml:"server_address" env:"SERVER_ADDRESS"`
	// contains filtered or unexported fields
}

func NewClientConfig

func NewClientConfig() (*ClientConfig, error)

type ServerConfig

type ServerConfig struct {
	Port   string `yaml:"port" env:"PORT"`
	APIKey string `yaml:"server_address" env:"API_KEY"`
	// contains filtered or unexported fields
}

func NewServerConfig

func NewServerConfig() (*ServerConfig, error)

Jump to

Keyboard shortcuts

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