Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxSize = 50
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoRiaHandler ¶
type AutoRiaHandler struct { API *autoria.API Recognizer *openalpr.API Storage *toolkit.Client Subscriptions map[int64]*subscription.Subscription FilePath string }
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.