Documentation
¶
Index ¶
- func BotHook(calman func(service.Message, service.Service, cache.QueryCache)) func(http.ResponseWriter, *http.Request)
- func HandleCalman(message service.Message, service service.Service, cache cache.QueryCache)
- func HandleGoogleImage(w http.ResponseWriter, r *http.Request)
- type Next
- type Queries
- type RootSearch
- type SearchItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BotHook ¶
func BotHook(calman func(service.Message, service.Service, cache.QueryCache)) func(http.ResponseWriter, *http.Request)
func HandleCalman ¶
func HandleGoogleImage ¶ added in v1.2.8
func HandleGoogleImage(w http.ResponseWriter, r *http.Request)
Types ¶
type RootSearch ¶ added in v1.2.8
type RootSearch struct {
Kind string `json:"kind"`
Items []SearchItem `json:"items"`
Queries Queries `json:"queries"`
}
type SearchItem ¶ added in v1.2.8
Click to show internal directories.
Click to hide internal directories.