Documentation
¶
Index ¶
- Variables
- type DataService
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (x *Document) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Document) FastWrite(buf []byte) (offset int)
- func (x *Document) GetEventName() string
- func (x *Document) GetTags() string
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (x *Document) Size() (n int)
- func (x *Document) String() string
- type InsertReq
- func (*InsertReq) Descriptor() ([]byte, []int)deprecated
- func (x *InsertReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *InsertReq) FastWrite(buf []byte) (offset int)
- func (x *InsertReq) GetDocuments() []*Document
- func (*InsertReq) ProtoMessage()
- func (x *InsertReq) ProtoReflect() protoreflect.Message
- func (x *InsertReq) Reset()
- func (x *InsertReq) Size() (n int)
- func (x *InsertReq) String() string
- type InsertResp
- func (*InsertResp) Descriptor() ([]byte, []int)deprecated
- func (x *InsertResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *InsertResp) FastWrite(buf []byte) (offset int)
- func (x *InsertResp) GetDone() bool
- func (*InsertResp) ProtoMessage()
- func (x *InsertResp) ProtoReflect() protoreflect.Message
- func (x *InsertResp) Reset()
- func (x *InsertResp) Size() (n int)
- func (x *InsertResp) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_platform_data_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DataService ¶
type DataService interface {
Insert(ctx context.Context, req *InsertReq) (res *InsertResp, err error)
}
type Document ¶
type Document struct { EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"` Tags string `protobuf:"bytes,2,opt,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Document) Descriptor
deprecated
func (*Document) GetEventName ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
type InsertReq ¶
type InsertReq struct { Documents []*Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"` // contains filtered or unexported fields }
func (*InsertReq) Descriptor
deprecated
func (*InsertReq) GetDocuments ¶
func (*InsertReq) ProtoMessage ¶
func (*InsertReq) ProtoMessage()
func (*InsertReq) ProtoReflect ¶
func (x *InsertReq) ProtoReflect() protoreflect.Message
type InsertResp ¶
type InsertResp struct { Done bool `protobuf:"varint,1,opt,name=done,proto3" json:"done,omitempty"` // contains filtered or unexported fields }
func (*InsertResp) Descriptor
deprecated
func (*InsertResp) Descriptor() ([]byte, []int)
Deprecated: Use InsertResp.ProtoReflect.Descriptor instead.
func (*InsertResp) FastWrite ¶
func (x *InsertResp) FastWrite(buf []byte) (offset int)
func (*InsertResp) GetDone ¶
func (x *InsertResp) GetDone() bool
func (*InsertResp) ProtoMessage ¶
func (*InsertResp) ProtoMessage()
func (*InsertResp) ProtoReflect ¶
func (x *InsertResp) ProtoReflect() protoreflect.Message
func (*InsertResp) Reset ¶
func (x *InsertResp) Reset()
func (*InsertResp) Size ¶
func (x *InsertResp) Size() (n int)
func (*InsertResp) String ¶
func (x *InsertResp) String() string
Click to show internal directories.
Click to hide internal directories.