m

package
v0.0.0-...-257ae38 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BPCResp

type BPCResp struct {
	Code    int64  `json:"code"`
	Message string `json:"message"`
	TTL     int64  `json:"ttl"`
}

type BPResp

type BPResp[T any] struct {
	BPCResp
	Data []T `json:"data"`
}

type BRList

type BRList[T any] struct {
	HasMore bool  `json:"has_more"`
	Info    T     `json:"info"`
	Medias  []T   `json:"medias"`
	TTL     int64 `json:"ttl"`
}

type BRListOfItem

type BRListOfItem[T any] struct {
	HasMore bool   `json:"has_more"`
	Items   []T    `json:"items"`
	Offset  string `json:"offset"`
}

type BResp

type BResp[T any] struct {
	BPCResp
	Data T `json:"data"`
}

type BRespR

type BRespR[T any] struct {
	BPCResp
	Data T `json:"result"`
}

Jump to

Keyboard shortcuts

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