response

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	Code    int    `json:"errcode"`
	Message string `json:"errmsg"`
	Status  int    `json:"status"`
	Punish  string `json:"punish"`
	Wait    int    `json:"wait"`
}

func (Response) GetCode

func (r Response) GetCode() int

func (Response) GetMessage

func (r Response) GetMessage() string

func (Response) IsSuccess

func (r Response) IsSuccess() bool

Jump to

Keyboard shortcuts

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