Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Registry uses the strategy pattern as a registry Registry = map[string]RegisterFunc{} )
Functions ¶
This section is empty.
Types ¶
type BundleManager ¶
type BundleManager interface {
ReadBundle(identifier *proto.Identifier) (*proto.SettingsBundle, error)
WriteBundle(bundle *proto.SettingsBundle) (*proto.SettingsBundle, error)
ListBundles(identifier *proto.Identifier) ([]*proto.SettingsBundle, error)
}
BundleManager is a bundle service interface for abstraction of storage implementations
type Manager ¶
type Manager interface {
BundleManager
ValueManager
}
Manager combines service interfaces for abstraction of storage implementations
type RegisterFunc ¶
RegisterFunc stores store constructors
type ValueManager ¶
type ValueManager interface {
ReadValue(identifier *proto.Identifier) (*proto.SettingsValue, error)
WriteValue(value *proto.SettingsValue) (*proto.SettingsValue, error)
ListValues(identifier *proto.Identifier) ([]*proto.SettingsValue, error)
}
ValueManager is a value service interface for abstraction of storage implementations
Click to show internal directories.
Click to hide internal directories.