Documentation ¶
Index ¶
- type Store
- func (s *Store) Assets(context, resourceType string) ([]string, error)
- func (s *Store) Load(context, resourceType, asset, snapshot string) ([]byte, error)
- func (s *Store) RemoveSnapshot(context, resourceType, asset, snapshot string) error
- func (s *Store) RenameSnapshot(context, resourceType, asset, oldSnapshot, newSnapshot string) error
- func (s *Store) Save(context, resourceType, asset string, r io.Reader) (string, error)
- func (s *Store) SaveSnapshot(context, resourceType, asset, snapshot string, r io.Reader) error
- func (s *Store) Serve() http.Handler
- func (s *Store) Snapshots(context, resourceType, asset string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
Path string
}
Store manages storage of items
func (*Store) RemoveSnapshot ¶
Remove a snapshot
func (*Store) RenameSnapshot ¶
Rename a snapshot
func (*Store) SaveSnapshot ¶
Save a snapshot
Click to show internal directories.
Click to hide internal directories.