Documentation ¶ Index ¶ type Asker type Builder func (b Builder) Run(ctx context.Context) (*Handler, error) type Config type Handler func (h *Handler) Stop() type Pipelines Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Asker ¶ type Asker = convo.Asker[string, string] type Builder ¶ type Builder struct { Config Config `validate:"required"` Pipelines Pipelines `validate:"required"` Log *slog.Logger `validate:"required"` } func (Builder) Run ¶ func (b Builder) Run(ctx context.Context) (*Handler, error) type Config ¶ type Config struct { Jid string `yaml:"jid" doc:"Jabber ID для бота."` Password string `yaml:"password" doc:"Пароль для бота."` Users map[string]string `yaml:"users" doc:"Маппинг JID в имя пользователя, используемое в пайплайнах."` } type Handler ¶ type Handler struct { // contains filtered or unexported fields } func (*Handler) Stop ¶ func (h *Handler) Stop() type Pipelines ¶ type Pipelines interface { Run(ctx context.Context, log *slog.Logger, username string) error } Source Files ¶ View all Source files xmpp.go Click to show internal directories. Click to hide internal directories.