Documentation
¶
Index ¶
- type Batch
- type Boom
- func (bm *Boom) Batch() *Batch
- func (bm *Boom) Count(q datastore.Query) (int, error)
- func (bm *Boom) DecodeCursor(s string) (datastore.Cursor, error)
- func (bm *Boom) Delete(src interface{}) error
- func (bm *Boom) DeleteMulti(src interface{}) error
- func (bm *Boom) Get(dst interface{}) error
- func (bm *Boom) GetAll(q datastore.Query, dst interface{}) ([]datastore.Key, error)
- func (bm *Boom) GetMulti(dst interface{}) error
- func (bm *Boom) Key(src interface{}) datastore.Key
- func (bm *Boom) KeyError(src interface{}) (datastore.Key, error)
- func (bm *Boom) Kind(src interface{}) string
- func (bm *Boom) NewTransaction() (*Transaction, error)
- func (bm *Boom) Put(src interface{}) (datastore.Key, error)
- func (bm *Boom) PutMulti(src interface{}) ([]datastore.Key, error)
- func (bm *Boom) Run(q datastore.Query) *Iterator
- func (bm *Boom) RunInTransaction(f func(tx *Transaction) error) (datastore.Commit, error)
- type Iterator
- type Transaction
- func (tx *Transaction) Batch() *TransactionBatch
- func (tx *Transaction) Commit() (datastore.Commit, error)
- func (tx *Transaction) Delete(src interface{}) error
- func (tx *Transaction) DeleteMulti(src interface{}) error
- func (tx *Transaction) Get(dst interface{}) error
- func (tx *Transaction) GetMulti(dst interface{}) error
- func (tx *Transaction) Put(src interface{}) (datastore.PendingKey, error)
- func (tx *Transaction) PutMulti(src interface{}) ([]datastore.PendingKey, error)
- func (tx *Transaction) Rollback() error
- type TransactionBatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boom ¶
func (*Boom) DecodeCursor ¶ added in v0.3.0
func (*Boom) DeleteMulti ¶
func (*Boom) NewTransaction ¶
func (bm *Boom) NewTransaction() (*Transaction, error)
func (*Boom) RunInTransaction ¶
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func (*Transaction) Batch ¶
func (tx *Transaction) Batch() *TransactionBatch
func (*Transaction) Delete ¶
func (tx *Transaction) Delete(src interface{}) error
func (*Transaction) DeleteMulti ¶
func (tx *Transaction) DeleteMulti(src interface{}) error
func (*Transaction) Get ¶
func (tx *Transaction) Get(dst interface{}) error
func (*Transaction) GetMulti ¶
func (tx *Transaction) GetMulti(dst interface{}) error
func (*Transaction) Put ¶
func (tx *Transaction) Put(src interface{}) (datastore.PendingKey, error)
func (*Transaction) PutMulti ¶
func (tx *Transaction) PutMulti(src interface{}) ([]datastore.PendingKey, error)
func (*Transaction) Rollback ¶
func (tx *Transaction) Rollback() error
type TransactionBatch ¶
type TransactionBatch struct {
// contains filtered or unexported fields
}
func (*TransactionBatch) Delete ¶
func (b *TransactionBatch) Delete(dst interface{}) chan error
func (*TransactionBatch) Exec ¶
func (b *TransactionBatch) Exec() error
func (*TransactionBatch) Get ¶
func (b *TransactionBatch) Get(dst interface{}) chan error
func (*TransactionBatch) Put ¶
func (b *TransactionBatch) Put(src interface{}) chan *datastore.TransactionPutResult
Click to show internal directories.
Click to hide internal directories.