Documentation ¶
Index ¶
- type Bot
- type HandlerFunc
- func GetAddMonitoringCommandHandler(dataProvider provider.AuctionDataProvider, ...) HandlerFunc
- func GetAddMonitoringMinimalCountStepHandler(flowStorage storage.AddMonitoringFlowStorage, ...) HandlerFunc
- func GetAddMonitoringVehicleStepHandler(flowStorage storage.AddMonitoringFlowStorage) HandlerFunc
- func GetAllDataShortCommandHandler(dataProvider provider.AuctionDataProvider) HandlerFunc
- func GetCancelCommandHandler(flowStorage storage.AddMonitoringFlowStorage) HandlerFunc
- func GetDataCommandHandler(dataProvider provider.AuctionDataProvider) HandlerFunc
- func GetDataShortCommandHandler(dataProvider provider.AuctionDataProvider) HandlerFunc
- func GetMonitoringCommandHandler(monitoringStorage storage.MonitoringStorage) HandlerFunc
- func GetStaticTextResponseHandler(response string) HandlerFunc
- type Predicate
- func GetCommandNamePredicate(name string) Predicate
- func GetSetVehicleMinimalCountFlowPredicate(flowStorage storage.AddMonitoringFlowStorage, step dto.MonitoringStep) Predicate
- func GetSetVehicleNameFlowCallbackPredicate(flowStorage storage.AddMonitoringFlowStorage, step dto.MonitoringStep) Predicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
func (*Bot) AddHandler ¶
func (b *Bot) AddHandler(predicate Predicate, handlerFunc HandlerFunc)
type HandlerFunc ¶
func GetAddMonitoringCommandHandler ¶
func GetAddMonitoringCommandHandler(dataProvider provider.AuctionDataProvider, flowStorage storage.AddMonitoringFlowStorage) HandlerFunc
func GetAddMonitoringMinimalCountStepHandler ¶
func GetAddMonitoringMinimalCountStepHandler(flowStorage storage.AddMonitoringFlowStorage, monitoringStorage storage.MonitoringStorage) HandlerFunc
func GetAddMonitoringVehicleStepHandler ¶
func GetAddMonitoringVehicleStepHandler(flowStorage storage.AddMonitoringFlowStorage) HandlerFunc
func GetAllDataShortCommandHandler ¶
func GetAllDataShortCommandHandler(dataProvider provider.AuctionDataProvider) HandlerFunc
func GetCancelCommandHandler ¶
func GetCancelCommandHandler(flowStorage storage.AddMonitoringFlowStorage) HandlerFunc
func GetDataCommandHandler ¶
func GetDataCommandHandler(dataProvider provider.AuctionDataProvider) HandlerFunc
func GetDataShortCommandHandler ¶
func GetDataShortCommandHandler(dataProvider provider.AuctionDataProvider) HandlerFunc
func GetMonitoringCommandHandler ¶
func GetMonitoringCommandHandler(monitoringStorage storage.MonitoringStorage) HandlerFunc
func GetStaticTextResponseHandler ¶
func GetStaticTextResponseHandler(response string) HandlerFunc
type Predicate ¶
func GetCommandNamePredicate ¶
func GetSetVehicleMinimalCountFlowPredicate ¶
func GetSetVehicleMinimalCountFlowPredicate(flowStorage storage.AddMonitoringFlowStorage, step dto.MonitoringStep) Predicate
func GetSetVehicleNameFlowCallbackPredicate ¶
func GetSetVehicleNameFlowCallbackPredicate(flowStorage storage.AddMonitoringFlowStorage, step dto.MonitoringStep) Predicate
Click to show internal directories.
Click to hide internal directories.