Documentation ¶
Index ¶
- Variables
- type ActorOf
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetAbilities() map[string]bool
- func (x *Metadata) GetLaunchAt() int64
- func (x *Metadata) GetProcessId() *prc.ProcessId
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type State
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cm_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActorOf ¶
type ActorOf struct { Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` Ability string `protobuf:"bytes,2,opt,name=ability,proto3" json:"ability,omitempty"` // contains filtered or unexported fields }
func (*ActorOf) Descriptor
deprecated
func (*ActorOf) GetAbility ¶
func (*ActorOf) GetIdentity ¶
func (*ActorOf) ProtoMessage ¶
func (*ActorOf) ProtoMessage()
func (*ActorOf) ProtoReflect ¶
func (x *ActorOf) ProtoReflect() protoreflect.Message
type Metadata ¶
type Metadata struct { ProcessId *prc.ProcessId `protobuf:"bytes,1,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"` // 节点进程 ID LaunchAt int64 `protobuf:"varint,2,opt,name=launch_at,json=launchAt,proto3" json:"launch_at,omitempty"` // 启动时间(毫秒级) Abilities map[string]bool `` // 节点提供的能力 /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetAbilities ¶
func (*Metadata) GetLaunchAt ¶
func (*Metadata) GetProcessId ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type State ¶
type State struct { UpdateAt int64 `protobuf:"varint,1,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"` // 更新时间(毫秒级) // contains filtered or unexported fields }
func (*State) Descriptor
deprecated
func (*State) GetUpdateAt ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.