giphy

package
v3.2.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2019 License: BSD-3-Clause, BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

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 APIClient

func APIClient() *http.Client

func Asset

func Asset(ctx context.Context, sourceURL string) (res io.ReadCloser, length int64, err error)

func AssetClient

func AssetClient() *http.Client

func ProxyURL

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

func WebClient() *http.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL