Documentation ¶
Index ¶
- Constants
- func APIClient() *http.Client
- func Asset(ctx context.Context, sourceURL string) (res io.ReadCloser, length int64, err error)
- func AssetClient() *http.Client
- func ProxyURL(sourceURL string) (res string, err error)
- func Search(mctx libkb.MetaContext, query *string, limit int, srv types.AttachmentURLSrv) (res []chat1.GiphySearchResult, err error)
- func WebClient() *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 AssetClient ¶
func Search ¶
func Search(mctx libkb.MetaContext, 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.