config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(cfg *Scheme) error

Types

type Addr

type Addr struct {
	Transport string
	Host      string
	Port      int
}

type Client

type Client struct {
	Addr        `mapstructure:",squash"`
	IsWebSocket bool
	IsSecured   bool
}

type Keyring added in v1.0.0

type Keyring struct {
	Category keyring.Category
	Seed     string
}

type Scheme

type Scheme struct {
	// Env is the application environment.
	Env           string
	Client        *Client
	Keyring       *Keyring
	Subscriptions *Subscriptions
}

Scheme represents the application configuration scheme.

type Subscriptions added in v1.0.0

type Subscriptions struct {
	Enabled             bool
	HasCustomPoolRunner bool
}

Jump to

Keyboard shortcuts

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