response

package
v0.0.0-...-3735932 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: AGPL-3.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 {
	Success      bool         `json:"success"`
	Data         interface{}  `json:"data"`
	Total        int64        `json:"total"`
	ErrorMessage string       `json:"errorMessage"`
	ErrorCode    int32        `json:"errorCode"`
	ShowType     ShowTypeEnum `json:"showType"`
}

type ShowTypeEnum

type ShowTypeEnum int8

type ErrorcodeEnum

const (
	SILENT       ShowTypeEnum = 0
	WARM         ShowTypeEnum = 1
	ERROR        ShowTypeEnum = 2
	NOTIFICATION ShowTypeEnum = 4
	PAGE         ShowTypeEnum = 9
)

Jump to

Keyboard shortcuts

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