config

package
v0.0.0-...-1c57a86 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type LogConfig

type LogConfig struct {
	Level     string
	TimeZone  string
	LogName   string
	LogSuffix string
	MaxBackup int
}

type ParamsConfig

type ParamsConfig struct {
	ConfigPath string
}

type SystemConfig

type SystemConfig struct {
	Host   string
	Port   string
	DBFile string

	SSLMode string // disable, require, verify-ca, verify-full
	SSLCert string // path to certificate file
	SSLKey  string // path to private key file
}

Jump to

Keyboard shortcuts

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