Documentation ¶
Index ¶
- Variables
- func Validate(name string) bool
- type Cache
- type Storages
- func (v *Storages) AppendStorageToGroups(ctx context.Context, name string, groups ...int64) error
- func (v *Storages) CreateStore(ctx context.Context, name, code string, lifetime int64) error
- func (v *Storages) DeleteStoreFromGroup(ctx context.Context, name string, groups ...int64) error
- func (v *Storages) Down() error
- func (v *Storages) Get(ctx context.Context, name string) (*Store, error)
- func (v *Storages) Up(ctx app.Context) error
- type Store
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugin = plugins.Plugin{ Inject: NewStorages, }
Functions ¶
Types ¶
type Storages ¶
type Storages struct {
// contains filtered or unexported fields
}
func NewStorages ¶
func (*Storages) AppendStorageToGroups ¶
func (*Storages) CreateStore ¶
func (*Storages) DeleteStoreFromGroup ¶
Click to show internal directories.
Click to hide internal directories.