bapi

package
v0.0.0-...-8463843 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP_KEY    = "eddycjy"
	APP_SECRET = "go-programming-tour-book"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	URL    string
	Client *http.Client
}

func NewAPI

func NewAPI(url string) *API

func (*API) GetTagList

func (a *API) GetTagList(ctx context.Context, name string) ([]byte, error)

type AccessToken

type AccessToken struct {
	Token string `json:"token"`
}

Jump to

Keyboard shortcuts

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