settings

package
v0.0.0-...-59b6e81 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VisibilityPrivate = "private"
	VisibilityPublic  = "public"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DBConnectionString string `json:"db_connection_string"`
	Port               string `json:"port"`
	JwtHMAC            string `json:"jwt_hmac"`
	JwtSecret          string `json:"jwt_secret"`
	RevokeHMAC         string `json:"revoke_hmac"`
	RevokeSecret       string `json:"revoke_secret"`
	Hostname           string `json:"hostname"`
	BadgerPath         string `json:"badger_path"`
	GithubClientID     string `json:"github_client_id"`
	GithubClientSecret string `json:"github_client_secret"`
	Visibility         string `json:"visibility"`
	// contains filtered or unexported fields
}

func Get

func Get() Config

Jump to

Keyboard shortcuts

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