conf

package
v0.0.0-...-2b6bb91 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigFilePath    string
	DEBUG             string
	VERSION           string
	AppName           string
	LOGDIR            string
	PORT              string
	HEARTBEAT         int
	RSSFILES          string
	ATOMFILES         string
	JSONFILES         string
	CHATID            string
	BOTID             string
	POSTDELAY         int
	MYSQL_USER        string
	MYSQL_PASS        string
	MYSQL_DB          string
	MYSQL_PORT        string
	MYSQL_HOST        string
	POSTAGE           int
	DISCORDTOKEN      string
	NEWSDETAIL        bool
	NEWSLIMIT         int
	MONITORAPI        string
	MYDNS             string
	THROTTLE          int
	UPDATE_NEWSDETAIL bool
)
View Source
var RestartSequece bool

Functions

func LoadConfig

func LoadConfig()

******_*********************_**_____*************__*_***********

  • | | | |/ ____| / _(_)
  • | | ___ __ _ __| | | ___ _ __ | |_ _ __ _
  • | | / _ \ / _` |/ _` | | / _ \| '_ \| _| |/ _` |
  • | |___| (_) | (_| | (_| | |___| (_) | | | | | | | (_| |
  • |______\___/ \__,_|\__,_|\_____\___/|_| |_|_| |_|\__, |
  • __/ |
  • |___/

Types

type Reply

type Reply struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
}

**********************************

  • _
  • | |
  • _ __ ___ _ __ | |_ _
  • | '__/ _ \ '_ \| | | | |
  • | | | __/ |_) | | |_| |
  • |_| \___| .__/|_|\__, |
  • | | __/ |
  • |_| |___/
  • * * * * * * * * * * * * * * * * *
  • Define the reply structure
  • -------------------------------

Jump to

Keyboard shortcuts

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