common

package
v0.0.0-...-24df0fa Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIURL

func GetAPIURL() string

Types

type BotConfig

type BotConfig struct {
	Token        string
	DisplayStats bool
}

type Config

type Config struct {
	Bot        BotConfig
	Lighthouse LighthouseConfig
}

func LoadConfig

func LoadConfig() Config

func LoadConfigPath

func LoadConfigPath(path string) Config

type LighthouseConfig

type LighthouseConfig struct {
	APIKey       string
	ServerURL    string
	InstanceName string
}

Jump to

Keyboard shortcuts

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