Versions in this module Expand all Collapse all v0 v0.0.1 Sep 20, 2020 Changes in this version + type AwsDocStore struct + func New(opts ...AwsDocStoreOption) *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 func(*AwsDocStore) + func WithDocTable(s string) AwsDocStoreOption + func WithRevisionTable(s string) AwsDocStoreOption + type AwsRevision struct + Body []byte + DocId string + Id int + Timestamp time.Time + func (r *AwsRevision) Metadata() docstore.RevisionMetadata + func (r *AwsRevision) Read(p []byte) (n int, err error)