Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinStore ¶
type BinStore interface {
// Add to the binary store.
Add(v *models.Version, reader io.Reader) error
// Get a binary from the store.
Get(v *models.Version) (io.Reader, error)
// Delete a binary from the store.
Delete(v *models.Version) error
}
BinStore represents a binary store.
func NewBoltBinStore ¶
NewBoltBinStore creates a new BoltDB interface.
Click to show internal directories.
Click to hide internal directories.