config

package
v0.0.0-...-bdb51fc Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	InProduction  bool
	UseRedis      bool
	UseCache      bool
	TemplateCache map[string]*template.Template
	InfoLog       *log.Logger
	ErrorLog      *log.Logger
	Session       *scs.SessionManager
	ContactEmail  string
	Addr          string
	Port          int
	DbString      string
	Dsn           string
	RedisHost     string
}

AppConfig consist of global configs. This package should not import from other internals package to avoid import cycle loop

Jump to

Keyboard shortcuts

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