Documentation
¶
Overview ¶
Package ddb provides DynamoDB utility for Protobuf messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalDynamoMessage ¶
func MarshalDynamoMessage(x proto.Message) (a types.AttributeValue, err error)
MarshalDynamoMessage will marshal a protobuf message 'm' into an attribute value. It supports several well-known Protobuf types and if 'x' implements its own MarshalDynamoItem method it will be called to delegate the marshalling.
func UnmarshalDynamoMessage ¶
func UnmarshalDynamoMessage(m types.AttributeValue, x proto.Message) (err error)
UnmarshalDynamoMessage will attempt to unmarshal 'm' into a protobuf message 'x'. It provides special support for several well-known protobuf message types. If 'x' implements the MarshalDynamoItem method it will be called to delegate the unmarshalling.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.