Documentation ¶
Index ¶
- func StartHandler(msg *bot.Event)
- type AutoRiaHandler
- type OpenCarsHandler
- func (h *OpenCarsHandler) GetReportByVIN(vin string) (string, error)
- func (h OpenCarsHandler) NotImplemented(msg *bot.Event)
- func (h OpenCarsHandler) PhotoHandler(msg *bot.Event)
- func (h OpenCarsHandler) PlatesHandler(msg *bot.Event)
- func (h OpenCarsHandler) RegistrationHandler(msg *bot.Event)
- func (h OpenCarsHandler) ReportByVIN(msg *bot.Event)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartHandler ¶ added in v0.0.29
Types ¶
type AutoRiaHandler ¶
type AutoRiaHandler struct { API *autoria.API Period time.Duration Toolkit *toolkit.Client Subscriptions map[int64]*subscription.Subscription }
func (AutoRiaHandler) AnalyzePhotos ¶
func (h AutoRiaHandler) AnalyzePhotos(photos []autoria.Photo) string
func (AutoRiaHandler) CarInfoHandler ¶
func (h AutoRiaHandler) CarInfoHandler(msg *bot.Event)
Analyze first 50 photos, then find best number, that matches the rules. Send message firstly.
func (AutoRiaHandler) FollowHandler ¶
func (h AutoRiaHandler) FollowHandler(msg *bot.Event)
func (AutoRiaHandler) StopHandler ¶
func (h AutoRiaHandler) StopHandler(msg *bot.Event)
type OpenCarsHandler ¶
type OpenCarsHandler struct {
// contains filtered or unexported fields
}
func NewOpenCarsHandler ¶ added in v0.0.27
func NewOpenCarsHandler(client *toolkit.Client) *OpenCarsHandler
func (*OpenCarsHandler) GetReportByVIN ¶ added in v0.0.29
func (h *OpenCarsHandler) GetReportByVIN(vin string) (string, error)
func (OpenCarsHandler) NotImplemented ¶ added in v0.0.16
func (h OpenCarsHandler) NotImplemented(msg *bot.Event)
func (OpenCarsHandler) PhotoHandler ¶
func (h OpenCarsHandler) PhotoHandler(msg *bot.Event)
func (OpenCarsHandler) PlatesHandler ¶
func (h OpenCarsHandler) PlatesHandler(msg *bot.Event)
func (OpenCarsHandler) RegistrationHandler ¶ added in v0.0.22
func (h OpenCarsHandler) RegistrationHandler(msg *bot.Event)
func (OpenCarsHandler) ReportByVIN ¶ added in v0.0.29
func (h OpenCarsHandler) ReportByVIN(msg *bot.Event)
Click to show internal directories.
Click to hide internal directories.