config

package
v0.0.0-...-435d8ae Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() error

Types

type Config

type Config struct {
	Mcs struct {
		Port          int    `yaml:"port"`
		Serverjar     string `yaml:"server_jar"`
		EC2InstanceID string `yaml:"ec2_instance_id"`
	}
	Bot struct {
		McsAddr               string   `yaml:"mcs_addr"`
		McsPort               int      `yaml:"mcs_port"`
		WhitelistedChannelIDS []string `yaml:"whitelisted_channel_ids"`
	}
	Aws struct {
		Region       string `yaml:"region"`
		S3BucketName string `yaml:"s3_bucket_name"`
	}
}
var Cfg *Config

Jump to

Keyboard shortcuts

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