Documentation ¶
Index ¶
- type API
- func (api *API) FetchGifs(path string) (value string, err error)
- func (api *API) GetContentWithRetry(path string) (value string, err error)
- func (api *API) GetFavoriteGifs() (favoriteGifs []Gif, err error)
- func (api *API) GetRecentGifs() (recentGifs []Gif, err error)
- func (api *API) SetTenorAPIKey(key string) (err error)
- func (api *API) UpdateFavoriteGifs(updatedGifs json.RawMessage) (err error)
- func (api *API) UpdateRecentGifs(updatedGifs json.RawMessage) (err error)
- type Container
- type Gif
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API is class with methods available over RPC.
func (*API) GetContentWithRetry ¶
func (*API) GetFavoriteGifs ¶
func (*API) GetRecentGifs ¶
func (*API) SetTenorAPIKey ¶
func (*API) UpdateFavoriteGifs ¶
func (api *API) UpdateFavoriteGifs(updatedGifs json.RawMessage) (err error)
func (*API) UpdateRecentGifs ¶
func (api *API) UpdateRecentGifs(updatedGifs json.RawMessage) (err error)
Click to show internal directories.
Click to hide internal directories.