config

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Viper  = viper.New()
	Config = &ApiConfig{}
)

Functions

This section is empty.

Types

type ApiConfig

type ApiConfig struct {
	Port          int `mapstructure:"port"`
	ApiTimeout    int `mapstructure:"api_timeout"`
	TcpingTimeout int `mapstructure:"tcping_timeout"`
	RateLimit     int `mapstructure:"rate_limit"`
}

Jump to

Keyboard shortcuts

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