Documentation ¶
Index ¶
- type Config
- type Logger
- func (d *Logger) Description() string
- func (d *Logger) Disable()
- func (d *Logger) Enable()
- func (d *Logger) Execute(pluginName string, update soundtouch.Update, speaker soundtouch.Speaker)
- func (d *Logger) IsEnabled() bool
- func (d *Logger) Name() string
- func (d *Logger) SampleConfig() string
- func (d *Logger) Terminate() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Speakers []string `toml:"speakers"` IgnoreMessages []string `toml:"ignore_messages"` }
Config contains the configuration of the plugin Speakers list of SpeakerNames the handler is added. All if empty IgnoreMessages a list of message types to be ignored
type Logger ¶
type Logger struct { Config Plugin soundtouch.PluginFunc // contains filtered or unexported fields }
Logger describes the plugin. It has a Config to store the configuration Plugin the plugin function suspended indicates that the plugin is temporarely suspended
func (*Logger) Description ¶
Description returns a string explaining the purpose of this plugin
func (*Logger) SampleConfig ¶
SampleConfig returns text explaining how plugin should be configured
Click to show internal directories.
Click to hide internal directories.