Documentation ¶
Index ¶
- Constants
- Variables
- type Attribute
- type PrimaryKey
- type Query
- func (q *Query) AddAttributesToGet(attributes []string)
- func (q *Query) AddExpected(attributes []Attribute)
- func (q *Query) AddItem(attributes []Attribute)
- func (q *Query) AddKey(t *Table, hashKey string, rangeKey string)
- func (q *Query) AddUpdates(attributes []Attribute, action string)
- func (q *Query) ConsistentRead(c bool)
- func (q *Query) String() string
- type Server
- type Service
- type Table
Constants ¶
View Source
const ( TYPE_STRING = "S" TYPE_NUMBER = "N" TYPE_BIN = "B" )
Variables ¶
View Source
var (
ErrNoDate = errors.New("Date header not supplied")
)
Functions ¶
This section is empty.
Types ¶
type PrimaryKey ¶
func (*PrimaryKey) Clone ¶
func (k *PrimaryKey) Clone(h string, r string) []Attribute
Useful when you may have many goroutines using a primary key, so they don't fuxor up your values.
func (*PrimaryKey) HasRange ¶
func (k *PrimaryKey) HasRange() bool
type Query ¶
type Query struct {
// contains filtered or unexported fields
}
func NewEmptyQuery ¶
func NewEmptyQuery() *Query
func (*Query) AddAttributesToGet ¶
func (*Query) AddExpected ¶
func (*Query) AddUpdates ¶
func (*Query) ConsistentRead ¶
type Server ¶
func (*Server) ListTables ¶
type Service ¶
type Service struct { // Name is the name of the service being used (i.e. iam, etc) Name string // Region is the region you want to communicate with the service through. (i.e. us-east-1) Region string }
Service represents an AWS-compatible service.
func (*Service) DerivedKey ¶
For Testing.
Click to show internal directories.
Click to hide internal directories.