Versions in this module Expand all Collapse all v1 v1.0.4 Sep 10, 2024 v1.0.3 Sep 10, 2024 Changes in this version + var File_protos_tools_proto protoreflect.FileDescriptor + var NodeType_name = map[int32]string + var NodeType_value = map[string]int32 + var StatusType_name = map[int32]string + var StatusType_value = map[string]int32 + type Event struct + ID string + Node *Node + PayLoad string + TimeStamp *timestamppb.Timestamp + Type string + func (*Event) Descriptor() ([]byte, []int) + func (*Event) ProtoMessage() + func (x *Event) GetID() string + func (x *Event) GetNode() *Node + func (x *Event) GetPayLoad() string + func (x *Event) GetTimeStamp() *timestamppb.Timestamp + func (x *Event) GetType() string + func (x *Event) ProtoReflect() protoreflect.Message + func (x *Event) Reset() + func (x *Event) String() string + type Node struct + ID string + IP string + LastPing *timestamppb.Timestamp + Name string + Status StatusType + Type NodeType + func (*Node) Descriptor() ([]byte, []int) + func (*Node) ProtoMessage() + func (x *Node) GetID() string + func (x *Node) GetIP() string + func (x *Node) GetLastPing() *timestamppb.Timestamp + func (x *Node) GetName() string + func (x *Node) GetStatus() StatusType + func (x *Node) GetType() NodeType + func (x *Node) ProtoReflect() protoreflect.Message + func (x *Node) Reset() + func (x *Node) String() string + type NodeType int32 + const NodeType_CLIENT + const NodeType_PROXY + const NodeType_UNSPECIFIED + func (NodeType) Descriptor() protoreflect.EnumDescriptor + func (NodeType) EnumDescriptor() ([]byte, []int) + func (NodeType) Type() protoreflect.EnumType + func (x NodeType) Enum() *NodeType + func (x NodeType) Number() protoreflect.EnumNumber + func (x NodeType) String() string + type Request struct + ID string + Node *Node + Payload string + TimeStamp *timestamppb.Timestamp + Type string + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (x *Request) GetID() string + func (x *Request) GetNode() *Node + func (x *Request) GetPayload() string + func (x *Request) GetTimeStamp() *timestamppb.Timestamp + func (x *Request) GetType() string + func (x *Request) ProtoReflect() protoreflect.Message + func (x *Request) Reset() + func (x *Request) String() string + type StatusType int32 + const StatusType_DOWN + const StatusType_UNKNOWN + const StatusType_UP + func (StatusType) Descriptor() protoreflect.EnumDescriptor + func (StatusType) EnumDescriptor() ([]byte, []int) + func (StatusType) Type() protoreflect.EnumType + func (x StatusType) Enum() *StatusType + func (x StatusType) Number() protoreflect.EnumNumber + func (x StatusType) String() string