config

package
v0.8.13 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: BSD-3-Clause Imports: 4 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 {
	Imgur   ConfigImgur
	Discord ConfigDiscord
}

func ParseConfig

func ParseConfig() Config

type ConfigDiscord added in v0.5.0

type ConfigDiscord struct {
	Enable     bool
	URL        string
	Username   string
	EmbedColor string
}

type ConfigImgur

type ConfigImgur struct {
	ID string
}

Jump to

Keyboard shortcuts

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