Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("no gif found")
)
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App of package
func (App) SendAnalytics ¶
func (a App) SendAnalytics(ctx context.Context, content ResponseObject, query string)
SendAnalytics send anonymous analytics event
type ResponseObject ¶
type ResponseObject struct {
Images map[string]image `json:"media_formats"`
URL string `json:"url"`
ID string `json:"id"`
}
ResponseObject described from tenor API
func (ResponseObject) GetImageURL ¶
func (ro ResponseObject) GetImageURL() string
Click to show internal directories.
Click to hide internal directories.