config

package
v0.0.0-...-f3538ee Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: MIT Imports: 2 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 {
	Endpoint string `env:"API_ENDPOINT"`
	Addr     string `env:"IRC_ADDRESS"`
	Nick     string `env:"IRC_NICK"`
	Pass     string `env:"IRC_PASSWORD"`
	User     string `env:"IRC_USER"`
	Name     string `env:"IRC_FULLNAME"`
	Channel  string `env:"IRC_CHANNEL"`
}

func ReadConfig

func ReadConfig() *Config

ReadConfig from env

Jump to

Keyboard shortcuts

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