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 ¶
func (*Bridge) GetStringSlice ¶
func (*Bridge) GetStringSlice2D ¶
func (*Bridge) JoinChannels ¶
func (*Bridge) SetChannelMembers ¶
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. |
|
nolint:goconst
|
nolint:goconst |
Click to show internal directories.
Click to hide internal directories.