response

package
v1.8.98 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Zlib Imports: 2 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 {
	ErrNo   int32  `json:"err_no,omitempty"`
	Message string `json:"message"`
	Code    int32  `json:"code"`
	Msg     string `json:"msg,omitempty"`
	SubCode string `json:"sub_code,omitempty"`
	SubMsg  string `json:"sub_msg,omitempty"`
	LogId   string `json:"log_id,omitempty"`
}

func (Response) ErrorIf added in v1.2.8

func (r Response) ErrorIf() error

func (Response) ReturnIf

func (r Response) ReturnIf(api *token.Api) error

Jump to

Keyboard shortcuts

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