bapi

package
v0.0.0-...-eda0c62 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP_KEY    = "test"
	APP_SECRET = "test001"
)

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