enum

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BizCode

type BizCode int
const (
	BizCodeOK      BizCode = iota // 正常
	BizCodeFail                   // 失败
	BizCodeTimeout                // 超时
)

func (BizCode) String

func (i BizCode) String() string

type Code

type Code int
const (
	CodeOK      Code = iota // 正常
	CodeFail                // 失败
	CodeTimeout             // 超时
)

func (Code) String

func (i Code) String() string

Jump to

Keyboard shortcuts

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