Documentation ¶
Index ¶
- type Bridge
- func (b *Bridge) GetBool(key string) bool
- func (b *Bridge) GetConfigKey(key string) string
- func (b *Bridge) GetInt(key string) int
- func (b *Bridge) GetString(key string) string
- func (b *Bridge) GetStringSlice(key string) []string
- func (b *Bridge) GetStringSlice2D(key string) [][]string
- func (b *Bridge) IsKeySet(key string) bool
- func (b *Bridge) JoinChannels() error
- func (b *Bridge) SetChannelMembers(newMembers *config.ChannelMembers)
- type Bridger
- type Config
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct { Bridger *sync.RWMutex Name string Account string Protocol string Channels map[string]config.ChannelInfo Joined map[string]bool ChannelMembers *config.ChannelMembers Log *logrus.Entry Config config.Config General *config.Protocol }
func (*Bridge) GetConfigKey ¶ added in v1.18.0
func (*Bridge) GetStringSlice ¶ added in v1.9.0
func (*Bridge) GetStringSlice2D ¶ added in v1.9.0
func (*Bridge) JoinChannels ¶ added in v0.9.3
func (*Bridge) SetChannelMembers ¶ added in v1.13.0
func (b *Bridge) SetChannelMembers(newMembers *config.ChannelMembers)
SetChannelMembers sets the newMembers to the bridge ChannelMembers
Directories ¶
Path | Synopsis |
---|---|
transmitter
Package transmitter provides functionality for transmitting arbitrary webhook messages to Discord.
|
Package transmitter provides functionality for transmitting arbitrary webhook messages to Discord. |
Click to show internal directories.
Click to hide internal directories.