Documentation
¶
Index ¶
Constants ¶
View Source
const CSRF_COOKIE_NAME = "kc4d018d7e07"
Variables ¶
View Source
var ErrNotFound = errors.New("Not found")
View Source
var TEST_MODE = false
Functions ¶
func SendTestEmail ¶ added in v0.0.2
Types ¶
type Conf ¶
type Conf struct {
Url string
Port int
DB string
DBMaxConns int
DBType string
OnlyInvited bool
ProxyMode bool
MailSMTP *ConfMailSMTP
MailSparkpost *ConfMailSparkpost
MailFrom string
SessionRedis *ConfSessionRedis
Csrf ConfCsrf
}
type ConfMailSMTP ¶
type ConfMailSparkpost ¶
type ConfSessionRedis ¶
type StaticHandler ¶
func NewStaticHandler ¶
func NewStaticHandler() *StaticHandler
func (*StaticHandler) ServeHTTP ¶
func (s *StaticHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.