Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PageHTML embed.FS
Functions ¶
func DeleteConfig ¶
DeleteConfig deletes the passed Config struct via SQLBoiler
func Init ¶
func Init()
Init registers the required guild join & leave functions as well as initialises the web plugin
func SaveConfig ¶
SaveConfig saves the passed Config struct via SQLBoiler
Types ¶
type Config ¶
Config defines the general struct to pass data to and from the dashboard template/context data
func ConfigFromModel ¶
func ConfigFromModel(m *models.CoreConfig) *Config
ConfigFromModel converts the guild config SQLBoiler model to a Config struct
func (*Config) ConfigToSQLModel ¶
func (c *Config) ConfigToSQLModel() *models.CoreConfig
ConfigToSQLModel converts a Config struct to the relevant SQLBoiler model
Click to show internal directories.
Click to hide internal directories.