get

package
v0.0.0-...-f1bddc9 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Errjson = errors.New("json err")

Functions

This section is empty.

Types

type BanData

type BanData struct {
	Action      string `json:"action"`
	Cid         string `json:"cid"`
	Dateline    string `json:"dateline"`
	Groupexpiry string `json:"groupexpiry"`
	Operator    string `json:"operator"`
	Operatorid  string `json:"operatorid"`
	Reason      string `json:"reason"`
	UID         string `json:"uid"`
	Username    string `json:"username"`
}

type Baninfo

type Baninfo struct {
	//map[uid]BanData
	Data    map[string]BanData `json:"data"`
	Message banMessage         `json:"message"`
}

func GetBanData

func GetBanData(cid int) (*Baninfo, error)

type ErrHttp

type ErrHttp struct {
	// contains filtered or unexported fields
}

func (ErrHttp) Error

func (n ErrHttp) Error() string

Jump to

Keyboard shortcuts

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