bapi

package
v0.0.0-...-f4e75d1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppKey    = "test"
	AppSecret = "123456"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	URL string
}

func NewAPI

func NewAPI(url string) *API

func (*API) GetTagList

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

为了单纯跑本项目,不依赖其他的项目,故此操作,写一个假数据 本项目的重点在于学习 grpc

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