config

package
v0.0.0-...-7f4b9de Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Mode      = ModeLocal
	SecretKey = "1q2w3e4r"
	Database  = struct {
		URI  string
		Salt string
	}{
		URI:  "root:root@tcp(localhost:3306)/rabums",
		Salt: "e109hjq0dn",
	}
)

Functions

func Init

func Init(ctx context.Context)

Types

type ModeStatus

type ModeStatus string
const (
	ModeLocal  ModeStatus = "LOCAL"
	ModeDeploy ModeStatus = "DEPLOY"
	ModeProd   ModeStatus = "PROD"
)

Jump to

Keyboard shortcuts

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