data

package
v0.0.0-...-4036ab3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2025 License: GPL-2.0 Imports: 7 Imported by: 1

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) FastRead

func (x *Document) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Document) FastWrite

func (x *Document) FastWrite(buf []byte) (offset int)

func (*Document) GetEventName

func (x *Document) GetEventName() string

func (*Document) GetTags

func (x *Document) GetTags() string

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect

func (x *Document) ProtoReflect() protoreflect.Message

func (*Document) Reset

func (x *Document) Reset()

func (*Document) Size

func (x *Document) Size() (n int)

func (*Document) String

func (x *Document) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use InsertReq.ProtoReflect.Descriptor instead.

func (*InsertReq) FastRead

func (x *InsertReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*InsertReq) FastWrite

func (x *InsertReq) FastWrite(buf []byte) (offset int)

func (*InsertReq) GetDocuments

func (x *InsertReq) GetDocuments() []*Document

func (*InsertReq) ProtoMessage

func (*InsertReq) ProtoMessage()

func (*InsertReq) ProtoReflect

func (x *InsertReq) ProtoReflect() protoreflect.Message

func (*InsertReq) Reset

func (x *InsertReq) Reset()

func (*InsertReq) Size

func (x *InsertReq) Size() (n int)

func (*InsertReq) String

func (x *InsertReq) String() string

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) FastRead

func (x *InsertResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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

Directories

Path Synopsis
Code generated by Kitex v0.12.1.
Code generated by Kitex v0.12.1.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL