types

package
v0.0.0-...-b3fff08 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Discord struct {
		Token  string `json:"token"`
		Output string `json:"output"`
	} `json:"discord"`
	Email struct {
		Host  string `json:"host"`
		User  string `json:"user"`
		Pass  string `json:"pass"`
		Every int    `json:"every"`
		// Caveat emptor! If Isabelle doesn't delete the messages, she will keep tripping over them. Should be used for debugging only.
		Keep bool `json:"keep"`
	} `json:"email"`
	GitHub struct {
		PAT    string   `json:"pat"`
		Repo   string   `json:"repo"`
		Labels []string `json:"labels"`
		React  string   `json:"react"`
	} `json:"github"`
	Messages struct {
		InvalidFile string
		BadZIP      string
		BadDownload string
		Help        string
		Success     string
	} `json:"messages"`
	Files struct {
		File1 string `json:"file1"`
		File2 string `json:"file2"`
	} `json:"files"`
}

Configuration specifies the data structures used in config objects

type SerializableException

type SerializableException struct {
	Message    string
	Source     string
	StackTrace string
	TargetSite string
	Type       string
}

SerializableException defines an exception that follows this format, i.e. the one in https://github.com/soygul/NBug/blob/master/NBug/Core/Util/Serialization/SerializableException.cs

Jump to

Keyboard shortcuts

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