Documentation
¶
Index ¶
- type Connector
- func (c *Connector) AbortResponse(msg *protocol.OutboundMessage)
- func (c *Connector) Authenticate() error
- func (c *Connector) ChannelAgentChoices(ctx context.Context, channelID string) ([]string, error)
- func (c *Connector) RenameThreadSession(ctx context.Context, conversationID, name string)
- func (c *Connector) SendResponse(ctx context.Context, msg *protocol.OutboundMessage) (err error)
- func (c *Connector) SendSessionMention(ctx context.Context, userID, link string) error
- func (c *Connector) SidebarChannelAgentChoices(ctx context.Context, channelID string) (name string, choices []string, err error)
- func (c *Connector) SlackMentionEmail(ctx context.Context, userID string) string
- func (c *Connector) SlackNames(ctx context.Context, ids []string) map[string]string
- func (c *Connector) SlackTagsMatching(ctx context.Context, needle string) []string
- func (c *Connector) Start(ctx context.Context)
- func (c *Connector) StartEvents(ctx context.Context, backend frontend.Backend) <-chan struct{}
- func (c *Connector) Stop(context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *config.LockedConfig, threadRouter protocol.PrimaryTextRouter, facts channelFactsStore, logger *slog.Logger) *Connector
func (*Connector) AbortResponse ¶
func (c *Connector) AbortResponse(msg *protocol.OutboundMessage)
func (*Connector) Authenticate ¶ added in v0.1.14
func (*Connector) ChannelAgentChoices ¶ added in v0.1.0
func (*Connector) RenameThreadSession ¶ added in v0.2.26
func (*Connector) SendResponse ¶
func (*Connector) SendSessionMention ¶ added in v0.2.72
func (*Connector) SidebarChannelAgentChoices ¶ added in v0.1.0
func (*Connector) SlackMentionEmail ¶ added in v0.2.72
func (*Connector) SlackNames ¶ added in v0.1.17
func (*Connector) SlackTagsMatching ¶ added in v0.1.17
func (*Connector) StartEvents ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.