config

package
v0.0.0-...-9ab1851 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2018 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Token        string `json:"token"`
	Prefix       string `json:"prefix"`
	LoggingLevel string `json:"logging_level"`
}

Contains values read from config

func ReadConfig

func ReadConfig() (config *Config, err error)

Reads config file and updates it to match Config struct

Jump to

Keyboard shortcuts

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