config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Database represents the current database connection details.
	Database = &database{}

	// Server represents the informations about the server bindings.
	Server = &server{}

	// Admin represents the informations about the admin config.
	Admin = &admin{}

	// Session represents the informations about the session handling.
	Session = &session{}

	// Storage represents the informations about the storage bindings.
	Storage = &storage{}

	// QRCode represents the informations about the qrcode settings.
	QRCode = &qrcode{}

	// Minio represents the informations about the Minio server.
	Minio = &s3{}

	// Auth0 token information
	Auth0 = &auth0{}

	// Auth driver
	Auth = &auth{}

	// ContextKeyUser for user
	ContextKeyUser = ContextKey("user")

	// Cache for redis, lur or memory cache
	Cache = &cache{}

	// Prometheus config
	Prometheus = &prometheus{}

	// Logs for zerolog
	Logs = &logs{}

	// AWS config
	AWS = &aws{}

	// MailService mail setting
	MailService = &mailService{}

	// SMTP email setting
	SMTP = &smtp{}
)

Functions

This section is empty.

Types

type ContextKey

type ContextKey string

ContextKey for context package

func (ContextKey) String

func (c ContextKey) String() string

Jump to

Keyboard shortcuts

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