config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Debug      = flag.String("debug", "false", "Sets log level to debug")
	Cron       = flag.String("cron", "*/10 * * * *", "Set a custom cron scheduled to run the IP check, run every 15 minutes by default")
	EnableCron = flag.String("cron-enable", "true", "This flag enable the cron mode, it can be disable to it in API mode only")
	EnableAPI  = flag.String("api-enable", "true", "This flag enable the API mode, it can be disable to run it in cron mode only")
	APIPort    = flag.String("api-port", "8080", "Set a custom api's listen port")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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