proto

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MethodType_name = map[int32]string{
		0: "METHOD_TYPE_TRANSACTION",
		1: "METHOD_TYPE_INVOKE",
		2: "METHOD_TYPE_QUERY",
	}
	MethodType_value = map[string]int32{
		"METHOD_TYPE_TRANSACTION": 0,
		"METHOD_TYPE_INVOKE":      1,
		"METHOD_TYPE_QUERY":       2,
	}
)

Enum value maps for MethodType.

View Source
var (
	MethodAuth_name = map[int32]string{
		0: "METHOD_AUTH_DEFAULT",
		1: "METHOD_AUTH_ENABLED",
		2: "METHOD_AUTH_DISABLED",
	}
	MethodAuth_value = map[string]int32{
		"METHOD_AUTH_DEFAULT":  0,
		"METHOD_AUTH_ENABLED":  1,
		"METHOD_AUTH_DISABLED": 2,
	}
)

Enum value maps for MethodAuth.

View Source
var (
	// optional foundation.MethodType method_type = 50001;
	E_MethodType = &file_method_options_proto_extTypes[0]
	// optional foundation.MethodAuth method_auth = 50002;
	E_MethodAuth = &file_method_options_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_method_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MethodAuth

type MethodAuth int32

Define enum for method authorization.

const (
	MethodAuth_METHOD_AUTH_DEFAULT  MethodAuth = 0
	MethodAuth_METHOD_AUTH_ENABLED  MethodAuth = 1
	MethodAuth_METHOD_AUTH_DISABLED MethodAuth = 2
)

func (MethodAuth) Descriptor

func (MethodAuth) Descriptor() protoreflect.EnumDescriptor

func (MethodAuth) Enum

func (x MethodAuth) Enum() *MethodAuth

func (MethodAuth) EnumDescriptor deprecated

func (MethodAuth) EnumDescriptor() ([]byte, []int)

Deprecated: Use MethodAuth.Descriptor instead.

func (MethodAuth) Number

func (x MethodAuth) Number() protoreflect.EnumNumber

func (MethodAuth) String

func (x MethodAuth) String() string

func (MethodAuth) Type

type MethodType

type MethodType int32

Define enum for method type.

const (
	MethodType_METHOD_TYPE_TRANSACTION MethodType = 0
	MethodType_METHOD_TYPE_INVOKE      MethodType = 1
	MethodType_METHOD_TYPE_QUERY       MethodType = 2
)

func (MethodType) Descriptor

func (MethodType) Descriptor() protoreflect.EnumDescriptor

func (MethodType) Enum

func (x MethodType) Enum() *MethodType

func (MethodType) EnumDescriptor deprecated

func (MethodType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MethodType.Descriptor instead.

func (MethodType) Number

func (x MethodType) Number() protoreflect.EnumNumber

func (MethodType) String

func (x MethodType) String() string

func (MethodType) Type

Jump to

Keyboard shortcuts

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