resource

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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) 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) IsIn

func (t VISIABLE_MODE) IsIn(targets ...VISIABLE_MODE) bool

IsIn todo

func (VISIABLE_MODE) MarshalJSON

func (t VISIABLE_MODE) MarshalJSON() ([]byte, error)

MarshalJSON todo

func (VISIABLE_MODE) Number

func (VISIABLE_MODE) String

func (x VISIABLE_MODE) String() string

func (VISIABLE_MODE) Type

func (*VISIABLE_MODE) UnmarshalJSON

func (t *VISIABLE_MODE) UnmarshalJSON(b []byte) error

UnmarshalJSON todo

Jump to

Keyboard shortcuts

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