env

package
v0.0.0-...-c4580cc Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscordConfig

type DiscordConfig struct {
	Token   string
	AppId   string
	GuildId GuildId
}

func NewDiscordConfig

func NewDiscordConfig() (*DiscordConfig, error)

type GuildId

type GuildId string

func ProvideGuildId

func ProvideGuildId(c *DiscordConfig) GuildId

func (GuildId) String

func (id GuildId) String() string

type Stage

type Stage string
const (
	StageProd Stage = "prod"
	StageDev  Stage = "dev"
)

func NewStageConfig

func NewStageConfig() (Stage, error)

Jump to

Keyboard shortcuts

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