2021-12-21 01:06:08 +00:00
|
|
|
// rpaste settings
|
|
|
|
//
|
|
|
|
// This part of the setting package sets default var types and will set other
|
|
|
|
// important var information, or even load configuration files. Majority of the
|
|
|
|
// needed defaults are not set here. They are set in the main package.
|
|
|
|
package setting
|
|
|
|
|
|
|
|
import (
|
2021-12-24 09:01:22 +00:00
|
|
|
// ini "gopkg.in/ini.v1"
|
|
|
|
_ "github.com/rocky-linux/rpaste/modules/utility"
|
2021-12-21 01:06:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2021-12-24 09:01:22 +00:00
|
|
|
AppName string
|
|
|
|
AppBuiltWith string
|
|
|
|
AppConf string
|
|
|
|
AppVer string
|
2022-01-01 23:41:59 +00:00
|
|
|
BasicDmidecode bool
|
|
|
|
DryMode bool
|
2021-12-24 09:01:22 +00:00
|
|
|
LexerType string
|
|
|
|
LifeTime string
|
|
|
|
PasteBinService string
|
|
|
|
PrintUsage bool
|
|
|
|
SysInfo bool
|
2021-12-21 01:06:08 +00:00
|
|
|
)
|