Documentation ¶
Index ¶
- Variables
- type VISIABLE_MODE
- func (VISIABLE_MODE) Descriptor() protoreflect.EnumDescriptor
- func (x VISIABLE_MODE) Enum() *VISIABLE_MODE
- func (VISIABLE_MODE) EnumDescriptor() ([]byte, []int)deprecated
- func (t VISIABLE_MODE) Equal(target VISIABLE_MODE) bool
- func (t VISIABLE_MODE) IsIn(targets ...VISIABLE_MODE) bool
- func (t VISIABLE_MODE) MarshalJSON() ([]byte, error)
- func (x VISIABLE_MODE) Number() protoreflect.EnumNumber
- func (x VISIABLE_MODE) String() string
- func (VISIABLE_MODE) Type() protoreflect.EnumType
- func (t *VISIABLE_MODE) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VISIABLE_MODE_name = map[int32]string{ 0: "NAMESPACE", 1: "DOMAIN", 2: "GLOBAL", } VISIABLE_MODE_value = map[string]int32{ "NAMESPACE": 0, "DOMAIN": 1, "GLOBAL": 2, } )
Enum value maps for VISIABLE_MODE.
View Source
var File_pb_resource_base_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type VISIABLE_MODE ¶
type VISIABLE_MODE int32
const ( // 默认Namespace可见 VISIABLE_MODE_NAMESPACE VISIABLE_MODE = 0 // 域内可见 VISIABLE_MODE_DOMAIN VISIABLE_MODE = 1 // 全局可见 VISIABLE_MODE_GLOBAL VISIABLE_MODE = 2 )
func ParseVISIABLE_MODEFromString ¶
func ParseVISIABLE_MODEFromString(str string) (VISIABLE_MODE, error)
ParseVISIABLE_MODEFromString Parse VISIABLE_MODE from string
func (VISIABLE_MODE) Descriptor ¶
func (VISIABLE_MODE) Descriptor() protoreflect.EnumDescriptor
func (VISIABLE_MODE) Enum ¶
func (x VISIABLE_MODE) Enum() *VISIABLE_MODE
func (VISIABLE_MODE) EnumDescriptor
deprecated
func (VISIABLE_MODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use VISIABLE_MODE.Descriptor instead.
func (VISIABLE_MODE) Equal ¶
func (t VISIABLE_MODE) Equal(target VISIABLE_MODE) bool
Equal type compare
func (VISIABLE_MODE) MarshalJSON ¶
func (t VISIABLE_MODE) MarshalJSON() ([]byte, error)
MarshalJSON todo
func (VISIABLE_MODE) Number ¶
func (x VISIABLE_MODE) Number() protoreflect.EnumNumber
func (VISIABLE_MODE) String ¶
func (x VISIABLE_MODE) String() string
func (VISIABLE_MODE) Type ¶
func (VISIABLE_MODE) Type() protoreflect.EnumType
func (*VISIABLE_MODE) UnmarshalJSON ¶
func (t *VISIABLE_MODE) UnmarshalJSON(b []byte) error
UnmarshalJSON todo
Click to show internal directories.
Click to hide internal directories.