settings

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Collection = "events"

Collection is the username of the database

View Source
const Database = "test"

Database is the name of the database

View Source
const Host = "localhost"

Host is the hostname of the database

View Source
const Port = "27017"

Port is the port of the database

View Source
const RootDir = "/home/deeper-x/go/src/github.com/deeper-x/weblog"

RootDir is the root directory of the project

Variables

View Source
var GetAuthFile = func() string {
	return fmt.Sprintf("%s/wauth/whitelist.json", RootDir)
}

GetAuthFile is the path to the file containing the authentication information

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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