Documentation
¶
Index ¶
- Variables
- type Driver
- func (d *Driver) DeleteCollection(collection string) error
- func (d *Driver) DeleteResource(collection, resource string) error
- func (d *Driver) Read(collection, resource string, v any) error
- func (d *Driver) ReadAll(collection string) ([]string, error)
- func (d *Driver) Write(collection, resource string, v any) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoCollection = errors.New("missing collection") ErrNoResource = errors.New("missing resource") )
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) DeleteCollection ¶
func (*Driver) DeleteResource ¶
Click to show internal directories.
Click to hide internal directories.