Documentation ¶
Index ¶
- Constants
- func APIClient(mctx libkb.MetaContext) *http.Client
- func Asset(mctx libkb.MetaContext, sourceURL string) (res io.ReadCloser, length int64, err error)
- func AssetClient(mctx libkb.MetaContext) *http.Client
- func ProxyURL(sourceURL string) (res string, err error)
- func Search(mctx libkb.MetaContext, apiKeySource types.ExternalAPIKeySource, query *string, ...) (res []chat1.GiphySearchResult, err error)
- func WebClient(mctx libkb.MetaContext) *http.Client
Constants ¶
View Source
const APIHost = "api.giphy.com"
View Source
const Host = "giphy.com"
View Source
const MediaHost = "media.giphy.com"
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
func Asset(mctx libkb.MetaContext, sourceURL string) (res io.ReadCloser, length int64, err error)
func AssetClient ¶
func AssetClient(mctx libkb.MetaContext) *http.Client
func Search ¶
func Search(mctx libkb.MetaContext, apiKeySource types.ExternalAPIKeySource, query *string, limit int, srv types.AttachmentURLSrv) (res []chat1.GiphySearchResult, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.