Documentation ¶
Index ¶
Constants ¶
View Source
const (
GATEWAY_IRC = "irc"
)
View Source
const (
SlackEventTypeMessage = "message"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRCGateway ¶
type IRCGateway struct {
// contains filtered or unexported fields
}
func NewIRCGateway ¶
func NewIRCGateway(cfg config.IRCGateway, botname string) *IRCGateway
func (*IRCGateway) ID ¶
func (gw *IRCGateway) ID() string
func (*IRCGateway) Name ¶
func (gw *IRCGateway) Name() string
func (*IRCGateway) SendMessage ¶
func (gw *IRCGateway) SendMessage(m *message.Message) error
type SlackGateway ¶
type SlackGateway struct {
// contains filtered or unexported fields
}
func NewSlackGateway ¶
func NewSlackGateway(cfg config.SlackGateway) *SlackGateway
func (*SlackGateway) ID ¶
func (gw *SlackGateway) ID() string
func (*SlackGateway) Name ¶
func (gw *SlackGateway) Name() string
func (*SlackGateway) SendMessage ¶
func (gw *SlackGateway) SendMessage(m *message.Message) error
Click to show internal directories.
Click to hide internal directories.