Rule

package
v0.0.0-...-dc4703b Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Msg_Type_name = map[int32]string{
		0: "None",
		1: "Online",
		2: "Offline",
		3: "Ring",
	}
	Msg_Type_value = map[string]int32{
		"None":    0,
		"Online":  1,
		"Offline": 2,
		"Ring":    3,
	}
)

Enum value maps for Msg_Type.

Functions

This section is empty.

Types

type Msg

type Msg struct {
	Type Msg_Type `protobuf:"varint,1,opt,name=type,proto3,enum=Rule.Msg_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Msg) Descriptor deprecated

func (*Msg) Descriptor() ([]byte, []int)

Deprecated: Use Msg.ProtoReflect.Descriptor instead.

func (*Msg) GetType

func (x *Msg) GetType() Msg_Type

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) ProtoReflect

func (x *Msg) ProtoReflect() protoreflect.Message

func (*Msg) Reset

func (x *Msg) Reset()

func (*Msg) String

func (x *Msg) String() string

type Msg_Type

type Msg_Type int32
const (
	Msg_None    Msg_Type = 0
	Msg_Online  Msg_Type = 1
	Msg_Offline Msg_Type = 2
	Msg_Ring    Msg_Type = 3
)

func (Msg_Type) Descriptor

func (Msg_Type) Descriptor() protoreflect.EnumDescriptor

func (Msg_Type) Enum

func (x Msg_Type) Enum() *Msg_Type

func (Msg_Type) EnumDescriptor deprecated

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

Deprecated: Use Msg_Type.Descriptor instead.

func (Msg_Type) Number

func (x Msg_Type) Number() protoreflect.EnumNumber

func (Msg_Type) String

func (x Msg_Type) String() string

func (Msg_Type) Type

Jump to

Keyboard shortcuts

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