common

package
v0.0.0-...-6b328a2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: AGPL-3.0, MIT Imports: 3 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 {
	Daemon  DaemonConfig
	Network map[string]NetworkConfig
	Client  struct{}
}

func LoadConfig

func LoadConfig(fileName string) (*Config, error)

type DaemonConfig

type DaemonConfig struct {
	Listen string
	LogDir string
}

type NetworkConfig

type NetworkConfig struct {
	Address  string
	Nick     string
	User     string
	Channels []string
}

Jump to

Keyboard shortcuts

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