Versions in this module Expand all Collapse all v1 v1.6.1 Jul 9, 2019 Changes in this version + var DocumentType_name = map[int32]string + var DocumentType_value = map[string]int32 + func RegisterDocStoreHandler(s server.Server, hdlr DocStoreHandler, opts ...server.HandlerOption) + type CountDocumentsResponse struct + Total int64 + func (*CountDocumentsResponse) Descriptor() ([]byte, []int) + func (*CountDocumentsResponse) ProtoMessage() + func (m *CountDocumentsResponse) GetTotal() int64 + func (m *CountDocumentsResponse) Reset() + func (m *CountDocumentsResponse) String() string + type DeleteDocumentsRequest struct + DocumentID string + Query *DocumentQuery + StoreID string + func (*DeleteDocumentsRequest) Descriptor() ([]byte, []int) + func (*DeleteDocumentsRequest) ProtoMessage() + func (m *DeleteDocumentsRequest) GetDocumentID() string + func (m *DeleteDocumentsRequest) GetQuery() *DocumentQuery + func (m *DeleteDocumentsRequest) GetStoreID() string + func (m *DeleteDocumentsRequest) Reset() + func (m *DeleteDocumentsRequest) String() string + type DeleteDocumentsResponse struct + DeletionCount int32 + Success bool + func (*DeleteDocumentsResponse) Descriptor() ([]byte, []int) + func (*DeleteDocumentsResponse) ProtoMessage() + func (m *DeleteDocumentsResponse) GetDeletionCount() int32 + func (m *DeleteDocumentsResponse) GetSuccess() bool + func (m *DeleteDocumentsResponse) Reset() + func (m *DeleteDocumentsResponse) String() string + type DocStore struct + func (h *DocStore) CountDocuments(ctx context.Context, in *ListDocumentsRequest, out *CountDocumentsResponse) error + func (h *DocStore) DeleteDocuments(ctx context.Context, in *DeleteDocumentsRequest, out *DeleteDocumentsResponse) error + func (h *DocStore) GetDocument(ctx context.Context, in *GetDocumentRequest, out *GetDocumentResponse) error + func (h *DocStore) ListDocuments(ctx context.Context, stream server.Streamer) error + func (h *DocStore) PutDocument(ctx context.Context, in *PutDocumentRequest, out *PutDocumentResponse) error + type DocStoreClient interface + CountDocuments func(ctx context.Context, in *ListDocumentsRequest, opts ...client.CallOption) (*CountDocumentsResponse, error) + DeleteDocuments func(ctx context.Context, in *DeleteDocumentsRequest, opts ...client.CallOption) (*DeleteDocumentsResponse, error) + GetDocument func(ctx context.Context, in *GetDocumentRequest, opts ...client.CallOption) (*GetDocumentResponse, error) + ListDocuments func(ctx context.Context, in *ListDocumentsRequest, opts ...client.CallOption) (DocStore_ListDocumentsClient, error) + PutDocument func(ctx context.Context, in *PutDocumentRequest, opts ...client.CallOption) (*PutDocumentResponse, error) + func NewDocStoreClient(serviceName string, c client.Client) DocStoreClient + type DocStoreHandler interface + CountDocuments func(context.Context, *ListDocumentsRequest, *CountDocumentsResponse) error + DeleteDocuments func(context.Context, *DeleteDocumentsRequest, *DeleteDocumentsResponse) error + GetDocument func(context.Context, *GetDocumentRequest, *GetDocumentResponse) error + ListDocuments func(context.Context, *ListDocumentsRequest, DocStore_ListDocumentsStream) error + PutDocument func(context.Context, *PutDocumentRequest, *PutDocumentResponse) error + type DocStore_ListDocumentsClient interface + Close func() error + Recv func() (*ListDocumentsResponse, error) + RecvMsg func(interface{}) error + SendMsg func(interface{}) error + type DocStore_ListDocumentsStream interface + Close func() error + RecvMsg func(interface{}) error + Send func(*ListDocumentsResponse) error + SendMsg func(interface{}) error + type Document struct + Data string + ID string + IndexableMeta string + Owner string + Type DocumentType + func (*Document) Descriptor() ([]byte, []int) + func (*Document) ProtoMessage() + func (m *Document) GetData() string + func (m *Document) GetID() string + func (m *Document) GetIndexableMeta() string + func (m *Document) GetOwner() string + func (m *Document) GetType() DocumentType + func (m *Document) Reset() + func (m *Document) String() string + type DocumentQuery struct + ID string + MetaQuery string + Owner string + func (*DocumentQuery) Descriptor() ([]byte, []int) + func (*DocumentQuery) ProtoMessage() + func (m *DocumentQuery) GetID() string + func (m *DocumentQuery) GetMetaQuery() string + func (m *DocumentQuery) GetOwner() string + func (m *DocumentQuery) Reset() + func (m *DocumentQuery) String() string + type DocumentType int32 + const DocumentType_BINARY + const DocumentType_JSON + func (DocumentType) EnumDescriptor() ([]byte, []int) + func (x DocumentType) String() string + type GetDocumentRequest struct + DocumentID string + StoreID string + func (*GetDocumentRequest) Descriptor() ([]byte, []int) + func (*GetDocumentRequest) ProtoMessage() + func (m *GetDocumentRequest) GetDocumentID() string + func (m *GetDocumentRequest) GetStoreID() string + func (m *GetDocumentRequest) Reset() + func (m *GetDocumentRequest) String() string + type GetDocumentResponse struct + BinaryUrl string + Document *Document + func (*GetDocumentResponse) Descriptor() ([]byte, []int) + func (*GetDocumentResponse) ProtoMessage() + func (m *GetDocumentResponse) GetBinaryUrl() string + func (m *GetDocumentResponse) GetDocument() *Document + func (m *GetDocumentResponse) Reset() + func (m *GetDocumentResponse) String() string + type ListDocumentsRequest struct + Query *DocumentQuery + StoreID string + func (*ListDocumentsRequest) Descriptor() ([]byte, []int) + func (*ListDocumentsRequest) ProtoMessage() + func (m *ListDocumentsRequest) GetQuery() *DocumentQuery + func (m *ListDocumentsRequest) GetStoreID() string + func (m *ListDocumentsRequest) Reset() + func (m *ListDocumentsRequest) String() string + type ListDocumentsResponse struct + BinaryUrl string + Document *Document + Score int32 + func (*ListDocumentsResponse) Descriptor() ([]byte, []int) + func (*ListDocumentsResponse) ProtoMessage() + func (m *ListDocumentsResponse) GetBinaryUrl() string + func (m *ListDocumentsResponse) GetDocument() *Document + func (m *ListDocumentsResponse) GetScore() int32 + func (m *ListDocumentsResponse) Reset() + func (m *ListDocumentsResponse) String() string + type PutDocumentRequest struct + Document *Document + DocumentID string + StoreID string + func (*PutDocumentRequest) Descriptor() ([]byte, []int) + func (*PutDocumentRequest) ProtoMessage() + func (m *PutDocumentRequest) GetDocument() *Document + func (m *PutDocumentRequest) GetDocumentID() string + func (m *PutDocumentRequest) GetStoreID() string + func (m *PutDocumentRequest) Reset() + func (m *PutDocumentRequest) String() string + type PutDocumentResponse struct + Document *Document + func (*PutDocumentResponse) Descriptor() ([]byte, []int) + func (*PutDocumentResponse) ProtoMessage() + func (m *PutDocumentResponse) GetDocument() *Document + func (m *PutDocumentResponse) Reset() + func (m *PutDocumentResponse) String() string + type ShareDocument struct + ApplicationBase string + DownloadCount int64 + DownloadDisabled bool + DownloadLimit int64 + ExpireTime int64 + OwnerId string + ParentRepositoryId string + PreLogUser string + PreUserUuid string + PresetLogin string + RepositoryId string + RestrictToTargetUsers bool + ShareType string + ShortFormUrl string + Target string + TargetUsers map[string]*TargetUserEntry + TemplateName string + type TargetUserEntry struct + Display string + DownloadCount int32 Incompatible versions in this module v2.0.6+incompatible Apr 23, 2020