package
0.0.0-20241114172023-67f4422999dc
Repository: https://github.com/bmstu-itstech/itsreg-bots.git
Documentation: pkg.go.dev
# Functions
Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.
No description provided by the author
# Structs
Block Минимальная структурная единица сценария бота.
Bot Информация о боте.
No description provided by the author
CreateMailing Рассылка и связанные с ней точка входа и блоки.
EntryPoint Точка входа для бота.
Error Описание ошибки.
No description provided by the author
Mailing Рассылка от бота.
Option Опция для блока с выбором ответа.
PostBots Данные, необходимые для создания бота.
No description provided by the author
No description provided by the author
No description provided by the author
ServerInterfaceWrapper converts contexts to parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
ServerInterface represents all server handlers.
# Type aliases
BlockType Тип кнопки: - Сообщение (message) - просто сообщение от бота.
BotStatus Статус бота: started (запущен), stopped (не запущен), failed (ошибка запуска).
CreateBotJSONRequestBody defines body for CreateBot for application/json ContentType.
CreateMailingJSONRequestBody defines body for CreateMailing for application/json ContentType.
GetBots Список ботов.
No description provided by the author