Documentation ¶
Overview ¶
Package internal is a generated protocol buffer package.
It is generated from these files:
internal/data.proto
It has these top-level messages:
WriteShardRequest Field Tag Point WriteShardResponse
Index ¶
- type Field
- func (m *Field) GetBool() bool
- func (m *Field) GetBytes() []byte
- func (m *Field) GetFloat64() float64
- func (m *Field) GetInt32() int32
- func (m *Field) GetInt64() int64
- func (m *Field) GetName() string
- func (m *Field) GetString_() string
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) String() string
- type Point
- type Tag
- type WriteShardRequest
- type WriteShardResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Name *string `protobuf:"bytes,1,req" json:"Name,omitempty"` Int32 *int32 `protobuf:"varint,2,opt" json:"Int32,omitempty"` Int64 *int64 `protobuf:"varint,3,opt" json:"Int64,omitempty"` Float64 *float64 `protobuf:"fixed64,4,opt" json:"Float64,omitempty"` Bool *bool `protobuf:"varint,5,opt" json:"Bool,omitempty"` String_ *string `protobuf:"bytes,6,opt" json:"String,omitempty"` Bytes []byte `protobuf:"bytes,7,opt" json:"Bytes,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Field) GetFloat64 ¶
func (*Field) GetString_ ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
type Point ¶
type Point struct { Name *string `protobuf:"bytes,1,req" json:"Name,omitempty"` Time *int64 `protobuf:"varint,2,req" json:"Time,omitempty"` Fields []*Field `protobuf:"bytes,3,rep" json:"Fields,omitempty"` Tags []*Tag `protobuf:"bytes,4,rep" json:"Tags,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
type Tag ¶
type Tag struct { Key *string `protobuf:"bytes,1,req" json:"Key,omitempty"` Value *string `protobuf:"bytes,2,req" json:"Value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
type WriteShardRequest ¶
type WriteShardRequest struct { ShardID *uint64 `protobuf:"varint,1,req" json:"ShardID,omitempty"` Points []*Point `protobuf:"bytes,2,rep" json:"Points,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*WriteShardRequest) GetPoints ¶
func (m *WriteShardRequest) GetPoints() []*Point
func (*WriteShardRequest) GetShardID ¶
func (m *WriteShardRequest) GetShardID() uint64
func (*WriteShardRequest) ProtoMessage ¶
func (*WriteShardRequest) ProtoMessage()
func (*WriteShardRequest) Reset ¶
func (m *WriteShardRequest) Reset()
func (*WriteShardRequest) String ¶
func (m *WriteShardRequest) String() string
type WriteShardResponse ¶
type WriteShardResponse struct { Code *int32 `protobuf:"varint,1,req" json:"Code,omitempty"` Message *string `protobuf:"bytes,2,opt" json:"Message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*WriteShardResponse) GetCode ¶
func (m *WriteShardResponse) GetCode() int32
func (*WriteShardResponse) GetMessage ¶
func (m *WriteShardResponse) GetMessage() string
func (*WriteShardResponse) ProtoMessage ¶
func (*WriteShardResponse) ProtoMessage()
func (*WriteShardResponse) Reset ¶
func (m *WriteShardResponse) Reset()
func (*WriteShardResponse) String ¶
func (m *WriteShardResponse) String() string
Click to show internal directories.
Click to hide internal directories.