internal

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Discord struct {
		ApplicationID Snowflake `yaml:"applicationId"`
		PublicKey     string    `yaml:"publicKey"`
		Bot           struct {
			Token string
			Port  string
		}
		AllowedGuilds []Snowflake `yaml:"allowedGuilds"`
	}
	RCON struct {
		Host     string
		Port     string
		Password string
	}
	Game struct {
		Password string
	}
}

func NewConfig

func NewConfig() *Config

Directories

Path Synopsis
bot
zomboid

Jump to

Keyboard shortcuts

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