sys_enum

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AuthActionType

type AuthActionType sys_enum_auth.ActionTypeEnum

type Code added in v0.2.0

type Code interface {
	// Code returns the integer number of current code.
	Code() int

	// Description returns the brief description for current code.
	Description() string

	// String returns current code as a string.
	String() string
}

Code is universal code interface definition.

func New added in v0.2.0

func New(code int, description string) Code

type EnumCode added in v0.2.0

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

EnumCode is an implementer for interface Code for internal usage only.

func (EnumCode) Code added in v0.2.0

func (c EnumCode) Code() int

Code returns the integer number of current code.

func (EnumCode) Description added in v0.2.0

func (c EnumCode) Description() string

Description returns the brief description for current code.

func (EnumCode) String added in v0.2.0

func (c EnumCode) String() string

String returns current code as a string.

type UploadEventState

type UploadEventState sys_enum_upload.EventStateEnum

type UserEvent

type UserEvent sys_enum_user.EventEnum

type UserState

type UserState sys_enum_user.StateEnum

type UserType

type UserType sys_enum_user.TypeEnum

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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