Documentation ¶
Overview ¶
Package identity is an example of custom ADT
Index ¶
- type Cryptex
- func (value Cryptex) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
- func (value Cryptex) MarshalJSON() (bytes []byte, err error)
- func (value Cryptex) PlainText() Identity
- func (value *Cryptex) UnmarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error
- func (value *Cryptex) UnmarshalJSON(b []byte) (err error)
- type Identity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cryptex ¶
type Cryptex Identity
AnyT is generic definition of sensitive structures
func (Cryptex) MarshalDynamoDBAttributeValue ¶
func (value Cryptex) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) (err error)
MarshalDynamoDBAttributeValue implements automatic encryption of sensitive strings during data marshalling.
func (Cryptex) MarshalJSON ¶
MarshalJSON implements automatic encryption of sensitive strings during data marshalling.
func (*Cryptex) UnmarshalDynamoDBAttributeValue ¶
func (value *Cryptex) UnmarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error
UnmarshalDynamoDBAttributeValue implements automatic decryption of data
func (*Cryptex) UnmarshalJSON ¶
UnmarshalJSON implements automatic decryption of data
Click to show internal directories.
Click to hide internal directories.