Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClaimThreadSafe ¶
type ClaimThreadSafe struct {
datastore.Batching
}
ClaimThreadSafe claims that a Datastore is threadsafe, even when it's type does not guarantee this. Use carefully.
func (ClaimThreadSafe) Close ¶
func (c ClaimThreadSafe) Close() error
TEMP UNTIL dev0.4.0 merges and solves this ugly interface stuff
func (ClaimThreadSafe) IsThreadSafe ¶
func (ClaimThreadSafe) IsThreadSafe()
type ThreadSafeDatastoreCloser ¶
type ThreadSafeDatastoreCloser interface { datastore.ThreadSafeDatastore io.Closer Batch() (datastore.Batch, error) }
func CloserWrap ¶
func CloserWrap(ds datastore.ThreadSafeDatastore) ThreadSafeDatastoreCloser
func ThreadSafeCloserMapDatastore ¶ added in v0.4.11
func ThreadSafeCloserMapDatastore() ThreadSafeDatastoreCloser
Click to show internal directories.
Click to hide internal directories.