Documentation ¶
Index ¶
- type AwsDocStore
- func (ds *AwsDocStore) GetDoc(docId string) (rev docstore.Revision, err error)
- func (ds *AwsDocStore) GetRevision(docId string, revisionId int) (rev docstore.Revision, err error)
- func (ds *AwsDocStore) ListDocs(token string) (page docstore.DocPage, err error)
- func (ds *AwsDocStore) ListRevisions(docId string, token string) (page docstore.RevisionPage, err error)
- func (ds *AwsDocStore) PutRevision(docId string, body io.Reader) (rev docstore.Revision, err error)
- type AwsDocStoreOption
- type AwsRevision
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsDocStore ¶
type AwsDocStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...AwsDocStoreOption) *AwsDocStore
func (*AwsDocStore) GetDoc ¶
func (ds *AwsDocStore) GetDoc(docId string) (rev docstore.Revision, err error)
func (*AwsDocStore) GetRevision ¶
func (*AwsDocStore) ListDocs ¶
func (ds *AwsDocStore) ListDocs(token string) (page docstore.DocPage, err error)
func (*AwsDocStore) ListRevisions ¶
func (ds *AwsDocStore) ListRevisions(docId string, token string) (page docstore.RevisionPage, err error)
func (*AwsDocStore) PutRevision ¶
type AwsDocStoreOption ¶
type AwsDocStoreOption func(*AwsDocStore)
func WithDocTable ¶
func WithDocTable(s string) AwsDocStoreOption
func WithRevisionTable ¶
func WithRevisionTable(s string) AwsDocStoreOption
type AwsRevision ¶
type AwsRevision struct { DocId string Id int Timestamp time.Time Body []byte // contains filtered or unexported fields }
func (*AwsRevision) Metadata ¶
func (r *AwsRevision) Metadata() docstore.RevisionMetadata
Click to show internal directories.
Click to hide internal directories.