config

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(filename string) error

Types

type Cache

type Cache struct {
	DefaultName string         `json:"default" toml:"default"`
	Adapter     []cache.Config `json:"adapter" toml:"adapter"`
}

type Locker

type Locker struct {
	DefaultName string          `json:"default" toml:"default"`
	Adapter     []locker.Config `json:"adapter" toml:"adapter"`
}

type Logger

type Logger struct {
	DefaultName string          `json:"default" toml:"default"`
	Adapter     []logger.Config `json:"adapter" toml:"adapter"`
}

type Server

type Server struct {
	Addr  string `json:"addr" toml:"addr"`
	Debug bool   `json:"debug" toml:"debug"`
}
var ServerConfig Server

Jump to

Keyboard shortcuts

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