models

package
v0.0.0-...-eb06fd2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Key           string
	Value         string
	Serialization string
}

func NewItem

func NewItem() *Item

type ParsedItem

type ParsedItem struct {
	Key   string
	Value *ParsedItemValue
}

func NewParsedItem

func NewParsedItem() *ParsedItem

func NewParsedItemFromDynamoDB

func NewParsedItemFromDynamoDB(dynamodbItem map[string]*dynamodb.AttributeValue) (*ParsedItem, error)

type ParsedItemValue

type ParsedItemValue struct {
	Value         string
	Serialization *Serialization
}

type Serialization

type Serialization struct {
	Type    string
	Options map[string]string
}

func NewSerialization

func NewSerialization() *Serialization

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL