Documentation ¶
Index ¶
- Variables
- type FileChunk
- func (*FileChunk) Descriptor() ([]byte, []int)deprecated
- func (x *FileChunk) GetData() []byte
- func (x *FileChunk) GetFileName() string
- func (x *FileChunk) GetSeq() int32
- func (x *FileChunk) GetState() FileChunk_State
- func (*FileChunk) ProtoMessage()
- func (x *FileChunk) ProtoReflect() protoreflect.Message
- func (x *FileChunk) Reset()
- func (x *FileChunk) String() string
- type FileChunk_State
- func (FileChunk_State) Descriptor() protoreflect.EnumDescriptor
- func (x FileChunk_State) Enum() *FileChunk_State
- func (FileChunk_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileChunk_State) Number() protoreflect.EnumNumber
- func (x FileChunk_State) String() string
- func (FileChunk_State) Type() protoreflect.EnumType
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetEmail() string
- func (x *Message) GetId() string
- func (x *Message) GetMessage() string
- func (x *Message) GetNotificationId() string
- func (x *Message) GetParentId() string
- func (x *Message) GetPhone() string
- func (x *Message) GetSubject() string
- func (x *Message) GetUserId() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetEdgePoints() []*Point
- func (x *Node) GetHash() int32
- func (x *Node) GetId() string
- func (x *Node) GetParent() string
- func (x *Node) GetPoints() []*Point
- func (x *Node) GetType() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeRequest
- type Nodes
- type NodesRequest
- func (*NodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodesRequest) GetError() string
- func (x *NodesRequest) GetNodes() []*Node
- func (*NodesRequest) ProtoMessage()
- func (x *NodesRequest) ProtoReflect() protoreflect.Message
- func (x *NodesRequest) Reset()
- func (x *NodesRequest) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetId() string
- func (x *Notification) GetMsg() string
- func (x *Notification) GetParent() string
- func (x *Notification) GetSourceNode() string
- func (x *Notification) GetSubject() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type Point
- func (*Point) Descriptor() ([]byte, []int)deprecated
- func (x *Point) GetData() []byte
- func (x *Point) GetIndex() float32
- func (x *Point) GetKey() string
- func (x *Point) GetOrigin() string
- func (x *Point) GetText() string
- func (x *Point) GetTime() *timestamppb.Timestamp
- func (x *Point) GetTombstone() int32
- func (x *Point) GetType() string
- func (x *Point) GetValue() float64
- func (*Point) ProtoMessage()
- func (x *Point) ProtoReflect() protoreflect.Message
- func (x *Point) Reset()
- func (x *Point) String() string
- type PointArray
- func (*PointArray) Descriptor() ([]byte, []int)deprecated
- func (x *PointArray) GetKey() string
- func (x *PointArray) GetSamplerate() float32
- func (x *PointArray) GetStarttime() uint64
- func (x *PointArray) GetType() string
- func (x *PointArray) GetValues() []float32
- func (*PointArray) ProtoMessage()
- func (x *PointArray) ProtoReflect() protoreflect.Message
- func (x *PointArray) Reset()
- func (x *PointArray) String() string
- type Points
- type SerialPoint
- func (*SerialPoint) Descriptor() ([]byte, []int)deprecated
- func (x *SerialPoint) GetData() []byte
- func (x *SerialPoint) GetIndex() float32
- func (x *SerialPoint) GetKey() string
- func (x *SerialPoint) GetOrigin() string
- func (x *SerialPoint) GetText() string
- func (x *SerialPoint) GetTime() int64
- func (x *SerialPoint) GetTombstone() int32
- func (x *SerialPoint) GetType() string
- func (x *SerialPoint) GetValue() float32
- func (*SerialPoint) ProtoMessage()
- func (x *SerialPoint) ProtoReflect() protoreflect.Message
- func (x *SerialPoint) Reset()
- func (x *SerialPoint) String() string
- type SerialPoints
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FileChunk_State_name = map[int32]string{ 0: "NONE", 2: "DONE", 3: "ERROR", } FileChunk_State_value = map[string]int32{ "NONE": 0, "DONE": 2, "ERROR": 3, } )
Enum value maps for FileChunk_State.
View Source
var File_file_chunk_proto protoreflect.FileDescriptor
View Source
var File_message_proto protoreflect.FileDescriptor
View Source
var File_node_proto protoreflect.FileDescriptor
View Source
var File_notification_proto protoreflect.FileDescriptor
View Source
var File_point_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FileChunk ¶
type FileChunk struct { State FileChunk_State `protobuf:"varint,1,opt,name=state,proto3,enum=pb.FileChunk_State" json:"state,omitempty"` Seq int32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` FileName string `protobuf:"bytes,4,opt,name=fileName,proto3" json:"fileName,omitempty"` // contains filtered or unexported fields }
func (*FileChunk) Descriptor
deprecated
func (*FileChunk) GetFileName ¶
func (*FileChunk) GetState ¶
func (x *FileChunk) GetState() FileChunk_State
func (*FileChunk) ProtoMessage ¶
func (*FileChunk) ProtoMessage()
func (*FileChunk) ProtoReflect ¶
func (x *FileChunk) ProtoReflect() protoreflect.Message
type FileChunk_State ¶
type FileChunk_State int32
const ( FileChunk_NONE FileChunk_State = 0 FileChunk_DONE FileChunk_State = 2 FileChunk_ERROR FileChunk_State = 3 )
func (FileChunk_State) Descriptor ¶
func (FileChunk_State) Descriptor() protoreflect.EnumDescriptor
func (FileChunk_State) Enum ¶
func (x FileChunk_State) Enum() *FileChunk_State
func (FileChunk_State) EnumDescriptor
deprecated
func (FileChunk_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileChunk_State.Descriptor instead.
func (FileChunk_State) Number ¶
func (x FileChunk_State) Number() protoreflect.EnumNumber
func (FileChunk_State) String ¶
func (x FileChunk_State) String() string
func (FileChunk_State) Type ¶
func (FileChunk_State) Type() protoreflect.EnumType
type Message ¶ added in v0.0.23
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` NotificationId string `protobuf:"bytes,3,opt,name=notificationId,proto3" json:"notificationId,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` Subject string `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"` Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"` ParentId string `protobuf:"bytes,8,opt,name=parentId,proto3" json:"parentId,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
added in
v0.0.23
func (*Message) GetMessage ¶ added in v0.0.23
func (*Message) GetNotificationId ¶ added in v0.0.23
func (*Message) GetParentId ¶ added in v0.0.25
func (*Message) GetSubject ¶ added in v0.0.23
func (*Message) ProtoMessage ¶ added in v0.0.23
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶ added in v0.0.23
func (x *Message) ProtoReflect() protoreflect.Message
type Node ¶ added in v0.0.22
type Node struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Hash int32 `protobuf:"varint,4,opt,name=hash,proto3" json:"hash,omitempty"` // bool tombstone = 5; // DEPRECATED: Tombstone is now an edge point Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` Points []*Point `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"` EdgePoints []*Point `protobuf:"bytes,7,rep,name=edgePoints,proto3" json:"edgePoints,omitempty"` // contains filtered or unexported fields }
Maps to NodeEdge type in data/node.go
func (*Node) Descriptor
deprecated
added in
v0.0.22
func (*Node) GetEdgePoints ¶ added in v0.0.30
func (*Node) ProtoMessage ¶ added in v0.0.22
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶ added in v0.0.22
func (x *Node) ProtoReflect() protoreflect.Message
type NodeRequest ¶ added in v0.0.30
type NodeRequest struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*NodeRequest) Descriptor
deprecated
added in
v0.0.30
func (*NodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeRequest.ProtoReflect.Descriptor instead.
func (*NodeRequest) GetError ¶ added in v0.0.30
func (x *NodeRequest) GetError() string
func (*NodeRequest) GetNode ¶ added in v0.0.30
func (x *NodeRequest) GetNode() *Node
func (*NodeRequest) ProtoMessage ¶ added in v0.0.30
func (*NodeRequest) ProtoMessage()
func (*NodeRequest) ProtoReflect ¶ added in v0.0.30
func (x *NodeRequest) ProtoReflect() protoreflect.Message
func (*NodeRequest) Reset ¶ added in v0.0.30
func (x *NodeRequest) Reset()
func (*NodeRequest) String ¶ added in v0.0.30
func (x *NodeRequest) String() string
type Nodes ¶ added in v0.0.30
type Nodes struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*Nodes) Descriptor
deprecated
added in
v0.0.30
func (*Nodes) ProtoMessage ¶ added in v0.0.30
func (*Nodes) ProtoMessage()
func (*Nodes) ProtoReflect ¶ added in v0.0.30
func (x *Nodes) ProtoReflect() protoreflect.Message
type NodesRequest ¶ added in v0.0.30
type NodesRequest struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*NodesRequest) Descriptor
deprecated
added in
v0.0.30
func (*NodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodesRequest.ProtoReflect.Descriptor instead.
func (*NodesRequest) GetError ¶ added in v0.0.30
func (x *NodesRequest) GetError() string
func (*NodesRequest) GetNodes ¶ added in v0.0.30
func (x *NodesRequest) GetNodes() []*Node
func (*NodesRequest) ProtoMessage ¶ added in v0.0.30
func (*NodesRequest) ProtoMessage()
func (*NodesRequest) ProtoReflect ¶ added in v0.0.30
func (x *NodesRequest) ProtoReflect() protoreflect.Message
func (*NodesRequest) Reset ¶ added in v0.0.30
func (x *NodesRequest) Reset()
func (*NodesRequest) String ¶ added in v0.0.30
func (x *NodesRequest) String() string
type Notification ¶ added in v0.0.23
type Notification struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SourceNode string `protobuf:"bytes,2,opt,name=sourceNode,proto3" json:"sourceNode,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"` Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
added in
v0.0.23
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetId ¶ added in v0.0.23
func (x *Notification) GetId() string
func (*Notification) GetMsg ¶ added in v0.0.23
func (x *Notification) GetMsg() string
func (*Notification) GetParent ¶ added in v0.0.29
func (x *Notification) GetParent() string
func (*Notification) GetSourceNode ¶ added in v0.0.23
func (x *Notification) GetSourceNode() string
func (*Notification) GetSubject ¶ added in v0.0.23
func (x *Notification) GetSubject() string
func (*Notification) ProtoMessage ¶ added in v0.0.23
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶ added in v0.0.23
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶ added in v0.0.23
func (x *Notification) Reset()
func (*Notification) String ¶ added in v0.0.23
func (x *Notification) String() string
type Point ¶ added in v0.0.11
type Point struct { Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Value float64 `protobuf:"fixed64,4,opt,name=value,proto3" json:"value,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"` Index float32 `protobuf:"fixed32,13,opt,name=index,proto3" json:"index,omitempty"` Text string `protobuf:"bytes,8,opt,name=text,proto3" json:"text,omitempty"` Key string `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` Tombstone int32 `protobuf:"varint,12,opt,name=tombstone,proto3" json:"tombstone,omitempty"` Data []byte `protobuf:"bytes,14,opt,name=data,proto3" json:"data,omitempty"` Origin string `protobuf:"bytes,15,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*Point) Descriptor
deprecated
added in
v0.0.11
func (*Point) GetTime ¶ added in v0.0.11
func (x *Point) GetTime() *timestamppb.Timestamp
func (*Point) GetTombstone ¶ added in v0.0.38
func (*Point) ProtoMessage ¶ added in v0.0.11
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶ added in v0.0.11
func (x *Point) ProtoReflect() protoreflect.Message
type PointArray ¶ added in v0.9.0
type PointArray struct { Starttime uint64 `protobuf:"varint,1,opt,name=starttime,proto3" json:"starttime,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Samplerate float32 `protobuf:"fixed32,4,opt,name=samplerate,proto3" json:"samplerate,omitempty"` Values []float32 `protobuf:"fixed32,5,rep,packed,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*PointArray) Descriptor
deprecated
added in
v0.9.0
func (*PointArray) Descriptor() ([]byte, []int)
Deprecated: Use PointArray.ProtoReflect.Descriptor instead.
func (*PointArray) GetKey ¶ added in v0.9.0
func (x *PointArray) GetKey() string
func (*PointArray) GetSamplerate ¶ added in v0.9.0
func (x *PointArray) GetSamplerate() float32
func (*PointArray) GetStarttime ¶ added in v0.9.0
func (x *PointArray) GetStarttime() uint64
func (*PointArray) GetType ¶ added in v0.9.0
func (x *PointArray) GetType() string
func (*PointArray) GetValues ¶ added in v0.9.0
func (x *PointArray) GetValues() []float32
func (*PointArray) ProtoMessage ¶ added in v0.9.0
func (*PointArray) ProtoMessage()
func (*PointArray) ProtoReflect ¶ added in v0.9.0
func (x *PointArray) ProtoReflect() protoreflect.Message
func (*PointArray) Reset ¶ added in v0.9.0
func (x *PointArray) Reset()
func (*PointArray) String ¶ added in v0.9.0
func (x *PointArray) String() string
type Points ¶ added in v0.0.11
type Points struct { Points []*Point `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` // contains filtered or unexported fields }
func (*Points) Descriptor
deprecated
added in
v0.0.11
func (*Points) ProtoMessage ¶ added in v0.0.11
func (*Points) ProtoMessage()
func (*Points) ProtoReflect ¶ added in v0.0.11
func (x *Points) ProtoReflect() protoreflect.Message
type SerialPoint ¶ added in v0.9.0
type SerialPoint struct { Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Value float32 `protobuf:"fixed32,4,opt,name=value,proto3" json:"value,omitempty"` Time int64 `protobuf:"varint,16,opt,name=time,proto3" json:"time,omitempty"` Index float32 `protobuf:"fixed32,13,opt,name=index,proto3" json:"index,omitempty"` Text string `protobuf:"bytes,8,opt,name=text,proto3" json:"text,omitempty"` Key string `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` Tombstone int32 `protobuf:"varint,12,opt,name=tombstone,proto3" json:"tombstone,omitempty"` Data []byte `protobuf:"bytes,14,opt,name=data,proto3" json:"data,omitempty"` Origin string `protobuf:"bytes,15,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*SerialPoint) Descriptor
deprecated
added in
v0.9.0
func (*SerialPoint) Descriptor() ([]byte, []int)
Deprecated: Use SerialPoint.ProtoReflect.Descriptor instead.
func (*SerialPoint) GetData ¶ added in v0.9.0
func (x *SerialPoint) GetData() []byte
func (*SerialPoint) GetIndex ¶ added in v0.9.0
func (x *SerialPoint) GetIndex() float32
func (*SerialPoint) GetKey ¶ added in v0.9.0
func (x *SerialPoint) GetKey() string
func (*SerialPoint) GetOrigin ¶ added in v0.9.0
func (x *SerialPoint) GetOrigin() string
func (*SerialPoint) GetText ¶ added in v0.9.0
func (x *SerialPoint) GetText() string
func (*SerialPoint) GetTime ¶ added in v0.9.0
func (x *SerialPoint) GetTime() int64
func (*SerialPoint) GetTombstone ¶ added in v0.9.0
func (x *SerialPoint) GetTombstone() int32
func (*SerialPoint) GetType ¶ added in v0.9.0
func (x *SerialPoint) GetType() string
func (*SerialPoint) GetValue ¶ added in v0.9.0
func (x *SerialPoint) GetValue() float32
func (*SerialPoint) ProtoMessage ¶ added in v0.9.0
func (*SerialPoint) ProtoMessage()
func (*SerialPoint) ProtoReflect ¶ added in v0.9.0
func (x *SerialPoint) ProtoReflect() protoreflect.Message
func (*SerialPoint) Reset ¶ added in v0.9.0
func (x *SerialPoint) Reset()
func (*SerialPoint) String ¶ added in v0.9.0
func (x *SerialPoint) String() string
type SerialPoints ¶ added in v0.9.0
type SerialPoints struct { Points []*SerialPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` // contains filtered or unexported fields }
func (*SerialPoints) Descriptor
deprecated
added in
v0.9.0
func (*SerialPoints) Descriptor() ([]byte, []int)
Deprecated: Use SerialPoints.ProtoReflect.Descriptor instead.
func (*SerialPoints) GetPoints ¶ added in v0.9.0
func (x *SerialPoints) GetPoints() []*SerialPoint
func (*SerialPoints) ProtoMessage ¶ added in v0.9.0
func (*SerialPoints) ProtoMessage()
func (*SerialPoints) ProtoReflect ¶ added in v0.9.0
func (x *SerialPoints) ProtoReflect() protoreflect.Message
func (*SerialPoints) Reset ¶ added in v0.9.0
func (x *SerialPoints) Reset()
func (*SerialPoints) String ¶ added in v0.9.0
func (x *SerialPoints) String() string
Click to show internal directories.
Click to hide internal directories.