config

package
v0.0.0-...-b49c65d Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Debug sets debug mode on or off
	Debug = false
	// Admins includes admins usernames
	Admins = []string{}
	// BotToken is our Telegram bot token
	BotToken string

	// WifiCSVFileAddress is the path to save CSV file received from admins
	WifiCSVFileAddress = path.Join(wd, "credentials_data.csv")
	// WifiCredentialsSendDelay is delay before sending wifi credentials
	WifiCredentialsSendDelay = 10 * time.Second
	// ContactAddress is cafe address in string format
	ContactAddress = ""
	// ContactPhoneNumber is cafe phone number
	ContactPhoneNumber = ""
)

Functions

func LoadConfig

func LoadConfig()

LoadConfig loads all configs

Types

This section is empty.

Jump to

Keyboard shortcuts

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