config

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: GPL-3.0 Imports: 3 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 Client

type Client struct {
	Addr        string
	IsWebSocket bool
	Transport   string
	IsSecured   bool
}

type Keyring added in v1.0.0

type Keyring struct {
	Category string // only Ed25519 Sr25519 avaliable
	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 {
	BuffSize int
	Enabled  bool
}

Jump to

Keyboard shortcuts

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