Documentation ¶
Overview ¶
Package store provides an interface to open blob.Store instances named by string addresses or URLs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidAddress is reported by Open when given an address that is // syntactically invalid or has no corresponding Opener. ErrInvalidAddress = errors.New("invalid address") )
Functions ¶
This section is empty.
Types ¶
type Opener ¶
An Opener opens a blob.Store instance associated with the given address. The address passed to the Opener has its dispatch tag removed. The format of the address is opaque to the registry, and the opener is responsible for checking its validity.
type Registry ¶
A Registry maintains a mapping from dispatch tags to Opener values.
func (Registry) Names ¶
Names returns a slice of the names of the storage implementations in r. The slice is sorted.
Click to show internal directories.
Click to hide internal directories.