Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Connector ConnectorConfig `json:"connector"` Logging LoggingConfig `json:"logging"` }
Config contains the settings for the connector
type ConnectorConfig ¶
type ConnectorConfig struct { Host string `json:"host"` Port int `json:"port"` ModulePath string `json:"modulePath"` StartModulesOnStartup bool `json:"startModulesOnStartup"` }
ConnectorConfig contains the general config information
type DiscordConfig ¶
type DiscordConfig struct { Enabled bool `json:"enabled"` Hook string `json:"hook"` Name string `json:"name"` }
DiscordConfig contains the discord logging configuration
type LoggingConfig ¶
type LoggingConfig struct { Status StatusConfig `json:"status"` Discord DiscordConfig `json:"discord"` }
LoggingConfig contains logging settings
type StatusConfig ¶
type StatusConfig struct { Enabled bool `json:"enabled"` IntervalSeconds int `json:"intervalSeconds"` }
StatusConfig contains the status report configuration
Click to show internal directories.
Click to hide internal directories.