config

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 9 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 {
	ServerPort       int
	DBDriver         string
	DBUser           string
	DBDatabase       string
	DBPassword       string
	DBAddr           string
	Debug            int
	CACrtPath        string
	PrivateKeyPath   string
	OCSPCycle        time.Duration
	SignbackDuration time.Duration
	RevokeWehbook    string
	NotifierUrl      string

	LogLevel string
	// contains filtered or unexported fields
}

func LoadConfig

func LoadConfig() (config Config, err error)

func (*Config) GetLogger added in v0.0.11

func (this *Config) GetLogger() *slog.Logger

Jump to

Keyboard shortcuts

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