constant

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseMinuteDuration = 1
	DefaultServerPort  = 8999
)

Variables

View Source
var (
	ServerPort = os.Getenv("NYAN_SERVER_PORT")

	ChannelSecret      = os.Getenv("NYAN_CHANNEL_SECRET")
	ChannelAccessToken = os.Getenv("NYAN_ACCESS_TOKEN")
	DefaultRoomID      = os.Getenv("NYAN_DEFAULT_ROOM_ID")

	MessageToken = os.Getenv("NYAN_MESSAGE_TOKEN")

	GoogleClientEmail  = os.Getenv("NYAN_GOOGLE_CLIENT_EMAIL")
	GooglePrivateKey   = strings.Replace(os.Getenv("NYAN_GOOGLE_PRIVATE_KEY"), `\n`, "\n", -1)
	GooglePrivateKeyID = os.Getenv("NYAN_GOOGLE_PRIVATE_KEY_ID")
	GoogleTokenURL     = os.Getenv("NYAN_GOOGLE_TOKEN_URL")

	SheetID = os.Getenv("NYAN_SHEET_ID")

	RedisHost = os.Getenv("NYAN_REDIS_HOST")
)

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