Documentation ¶ Index ¶ func Decrypt(doc Document) (domain.Document, error) type Document func Encrypt(doc domain.Document) (Document, error) func NewDocument(Name, DocType string) Document Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decrypt ¶ func Decrypt(doc Document) (domain.Document, error) Types ¶ type Document ¶ type Document struct { Id string `dynamodbav:"id"` Type string `dynamodbav:"type"` Name []byte `dynamodbav:"name"` LifecycleState string `dynamodbav:"lifecycleState"` CreationDate time.Time `dynamodbav:"creationDate"` } func Encrypt ¶ func Encrypt(doc domain.Document) (Document, error) func NewDocument ¶ func NewDocument(Name, DocType string) Document Source Files ¶ View all Source files document.go encrypt.go Click to show internal directories. Click to hide internal directories.