config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MySql  DatabaseDriver = "mysql"
	PgSql                 = "pgsql"
	Sqlite                = "sqlite"
)
View Source
const (
	Debug  LogLevel = "debug"
	Info            = "info"
	Warn            = "warn"
	Error           = "error"
	Dpanic          = "dpanic"
	Panic           = "panic"
	Fatal           = "fatal"
	Silent          = "silent"
)

Variables

This section is empty.

Functions

func App

func App() *appConfig

func Casbin

func Casbin() *casbinConfig

func Database

func Database() *databaseConfig

func Http

func Http() *httpConfig

func Log

func Log() *logConfig

func Redis

func Redis() *redisConfig

Types

type DatabaseDriver

type DatabaseDriver string

type LogLevel

type LogLevel string

type LogType

type LogType string
const (
	Console LogType = "console"
	File            = "file"
)

Jump to

Keyboard shortcuts

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