Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InjectorCode = "" /* 4140-byte string literal not displayed */
Functions ¶
func FetchRemotePlugins ¶
func WriteConfig ¶
func WriteConfig(cfg Config)
Types ¶
type Config ¶
type Config struct {
DiscordPath string `json:"discordPath"`
}
func ReadConfig ¶
func ReadConfig() Config
type DiscordInstance ¶
func GetChannels ¶
func GetChannels() []DiscordInstance
func GetInstance ¶
func GetInstance(channel string) (DiscordInstance, error)
func NewDiscordInstance ¶
func NewDiscordInstance(path string) (*DiscordInstance, error)
type ReturnData ¶
type ReturnData struct {
Name string `json:"name"`
}
func CheckHealth ¶
func CheckHealth() ReturnData
type Warning ¶
Warning represents a warning to show the user on the primary view.
func FindWarnings ¶
type WarningID ¶
type WarningID int
const ( // NullActionWarningID cannot be automatically fixed. NullActionWarningID WarningID = iota // InstallOrUpdatePackageWarningID warnings can be solved by installing/updating the package Parameter. InstallOrUpdatePackageWarningID // URLAndCloseWarningID warnings can be solved manually by the user given navigation to a URL. The application closes. URLAndCloseWarningID )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.