config

package
v0.0.1-test Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package config provides a simple configuration system.

Index

Constants

This section is empty.

Variables

View Source
var (
	Config = defaultConfig()
	Bot    = &Config.Bot
	User   = &Config.User
	Poller = &Config.Poller
)

Functions

func Load

func Load(path string) (err error)

func Save

func Save(path string) (err error)

func Validate

func Validate()

Types

This section is empty.

Jump to

Keyboard shortcuts

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