config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DateTimeFormat = "02/01/2006 15:04"
View Source
const ErrEventDoesNotExist = "event does not exist"

Custom error messages

View Source
const MailSender = "noreply@manifeste.info"

Mails

View Source
const MailSenderName = "Ne pas répondre"
View Source
const MailValidationSubject = "Confirmation de l'adresse mail"
View Source
const MinPasswordLen = 8
View Source
const SessionCookieExpiry = 3600
View Source
const SessionCookieName = "m_session_cookie"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Notifier string
	Env      string
}

func New

func New() Config

New returns a new Config

Jump to

Keyboard shortcuts

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