package memblob
import "gocloud.dev/blob/memblob"
Package memblob provides an in-memory blob implementation. Use OpenBucket to construct a blob.Bucket.
Open URLs
For blob.Open URLs, memblob registers for the scheme "mem"; URLs start with "mem://".
The URL's Path and Host are ignored, and no query options are supported. Example:
- mem://
As
memblob does not support any types for As.
Index ¶
Examples ¶
Functions ¶
func OpenBucket ¶
OpenBucket creates a *blob.Bucket backed by memory.
Types ¶
type Options ¶
type Options struct{}
Options sets options for constructing a *blob.Bucket backed by memory.
Source Files ¶
memblob.go
- Version
- v0.9.0
- Published
- Jan 15, 2019
- Platform
- darwin/amd64
- Imports
- 13 packages
- Last checked
- 40 minutes ago –
Tools for package owners.