gui

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CallbackMap = map[string]func(m *datatypes.MessageIn) datatypes.MessageOut{
	"resetGlobalDefaultSettings":  resetGlobalSettingsCallback,
	"clearAllData":                clearDataCallback,
	"igCredentialsForm":           credentialsFormCallback,
	"quotasForm":                  quotasFormCallback,
	"schedulerForm":               schedulerCallback,
	"blacklistForm":               blacklistFormCallback,
	"dmSettingsForm":              dmBotFormCallback,
	"dmUserScrappingSettingsForm": dmScrapperFormCallback,
	"proxyForm":                   proxyFormCallback,
	"launchDmBot":                 launchDmBotCallback,
	"stopDmBot":                   stopDmBotCallback,
	"hotReloadBot":                hotReloadCallback,
	"getLogs":                     getLogsCallback,
	"getConfig":                   getConfigCallback,
}

CallbackMap is a map of callback functions for each message

Functions

func HandleMessages

func HandleMessages(w *astilectron.Window)

HandleMessages is handling function for incoming messages

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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