config

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearDiscordCommands

func ClearDiscordCommands() bool

func EnvIsDev

func EnvIsDev() bool

func GetAppId

func GetAppId() string

func GetDingConfig added in v0.1.6

func GetDingConfig() (string, string)

func GetDingDingAppKeyAndSecret

func GetDingDingAppKeyAndSecret() (string, string)

func GetDingDingToken

func GetDingDingToken() string

func IgnoreDingMsg added in v0.1.7

func IgnoreDingMsg() bool

func IgnoreIPFake added in v0.3.3

func IgnoreIPFake() bool

func IgnoreTraceId added in v0.2.3

func IgnoreTraceId() bool

func IsTestNet

func IsTestNet() bool

func RedisScheduleDataKey added in v0.1.0

func RedisScheduleDataKey(id string) string

func RedisScheduleJobKey added in v0.1.0

func RedisScheduleJobKey(ServiceName string) string

func RedisScheduleLockKey added in v0.1.0

func RedisScheduleLockKey(id string) string

func UseConsoleWrite

func UseConsoleWrite() bool

func UseWebsocket

func UseWebsocket() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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