Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Enable_name = map[int32]string{ 0: "ENABLE_UNSPECIFIED", 1: "ENABLE_YES", 2: "ENABLE_NO", } Enable_value = map[string]int32{ "ENABLE_UNSPECIFIED": 0, "ENABLE_YES": 1, "ENABLE_NO": 2, } )
Enum value maps for Enable.
View Source
var ( Sort_name = map[int32]string{ 0: "SORT_UNSPECIFIED", 1: "SORT_DESC", 2: "SORT_ASC", } Sort_value = map[string]int32{ "SORT_UNSPECIFIED": 0, "SORT_DESC": 1, "SORT_ASC": 2, } )
Enum value maps for Sort.
View Source
var ( State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_ACTIVE", 2: "STATE_INACTIVE", 3: "STATE_BANNED", } State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_ACTIVE": 1, "STATE_INACTIVE": 2, "STATE_BANNED": 3, } )
Enum value maps for State.
View Source
var ( Switch_name = map[int32]string{ 0: "SWITCH_UNSPECIFIED", 1: "SWITCH_OPEN", 2: "SWITCH_CLOSE", } Switch_value = map[string]int32{ "SWITCH_UNSPECIFIED": 0, "SWITCH_OPEN": 1, "SWITCH_CLOSE": 2, } )
Enum value maps for Switch.
View Source
var File_common_enum_enum_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Enable ¶
type Enable int32
启用状态
func (Enable) Descriptor ¶
func (Enable) Descriptor() protoreflect.EnumDescriptor
func (Enable) EnumDescriptor
deprecated
func (Enable) Number ¶
func (x Enable) Number() protoreflect.EnumNumber
func (Enable) Type ¶
func (Enable) Type() protoreflect.EnumType
type Sort ¶
type Sort int32
通用排序
func (Sort) Descriptor ¶
func (Sort) Descriptor() protoreflect.EnumDescriptor
func (Sort) EnumDescriptor
deprecated
func (Sort) Number ¶
func (x Sort) Number() protoreflect.EnumNumber
func (Sort) Type ¶
func (Sort) Type() protoreflect.EnumType
type State ¶
type State int32
通用状态
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
type Switch ¶
type Switch int32
开关
func (Switch) Descriptor ¶
func (Switch) Descriptor() protoreflect.EnumDescriptor
func (Switch) EnumDescriptor
deprecated
func (Switch) Number ¶
func (x Switch) Number() protoreflect.EnumNumber
func (Switch) Type ¶
func (Switch) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.