settings

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName = "TinyJPG"
)

Variables

View Source
var (
	SettingFile string
	Logger      *log.Logger

	Debug    bool
	General  = &setting.General
	Compress = &setting.Compress
)

Functions

func LoadSettings

func LoadSettings(configFile string) (error error)

Read and parse config file

func Regexp

func Regexp() string

getRegexp

func ReloadSettings

func ReloadSettings() error

ReloadSettings

Types

This section is empty.

Jump to

Keyboard shortcuts

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