configs

package
v0.0.0-...-60f7d2f Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken() string

GetToken will return the value of the token

Types

type DataBase

type DataBase struct {
	User     string `toml:"user"`
	Password string `toml:"password"`
	Host     string `toml:"host"`
	DBname   string `toml:"dbname"`
}

DataBase ...

func Configs

func Configs() DataBase

Configs return config struct

type Token

type Token struct {
	Token string `toml:"token"`
}

Token ...

Jump to

Keyboard shortcuts

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