config

package
v0.0.0-...-3bc755c Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	rest.RestConf
	Database struct {
		Pkg             string
		DriverName      string
		DSN             string
		MaxOpenConn     int
		MaxIdleConn     int
		ConnMaxLifetime int
		ConnMaxIdleTime int
	}
	Logger struct {
		Path     string
		MaxAge   int
		Interval int
	}
	CacheRedis cache.ClusterConf
	Auth       struct {
		AccessSecret string
		AccessExpire int64
	}
}

Jump to

Keyboard shortcuts

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