Documentation
¶
Index ¶
- Constants
- type Adapter
- func (a *Adapter) Category() plugin.Category
- func (a *Adapter) GetCategory() plugin.Category
- func (a *Adapter) GetID() string
- func (a *Adapter) GetName() string
- func (a *Adapter) ID() string
- func (a *Adapter) Name() string
- func (a *Adapter) OnMessage(callback func(plugin.IncomingMessage))
- func (a *Adapter) Platform() plugin.PlatformProvider
- func (a *Adapter) Send(ctx context.Context, channelID string, text string) error
- func (a *Adapter) SendMessage(ctx context.Context, channelID string, msg plugin.OutgoingMessage) error
- func (a *Adapter) Start(ctx context.Context) error
- func (a *Adapter) Stop() error
- func (a *Adapter) Validate() error
Constants ¶
View Source
const PlatformName = "api_server"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) GetCategory ¶
func (*Adapter) OnMessage ¶
func (a *Adapter) OnMessage(callback func(plugin.IncomingMessage))
func (*Adapter) Platform ¶
func (a *Adapter) Platform() plugin.PlatformProvider
func (*Adapter) SendMessage ¶
Click to show internal directories.
Click to hide internal directories.