Documentation ¶
Index ¶
- type Service
- type Store
- func (store *Store) CreateDatabase(name string) error
- func (store *Store) GetDatabase(name string) (store.Database, error)
- func (store *Store) RemoveDatabase(name string) error
- func (store *Store) ServiceName() string
- func (store *Store) ServiceType() plugins.ServiceType
- func (store *Store) SetSerializer(serializer document.Serializer)
- func (store *Store) Start() error
- func (store *Store) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { document.Serializer // contains filtered or unexported fields }
func NewStoreWithKvStore ¶
func (*Store) CreateDatabase ¶
CreateDatabase creates a new database.
func (*Store) GetDatabase ¶
GetDatabase retruns the specified database.
func (*Store) RemoveDatabase ¶
RemoveDatabase removes the specified database.
func (*Store) ServiceName ¶
ServiceName returns the plug-ing service name.
func (*Store) ServiceType ¶
func (store *Store) ServiceType() plugins.ServiceType
ServiceType returns the plug-ing service type.
func (*Store) SetSerializer ¶
func (store *Store) SetSerializer(serializer document.Serializer)
SetSerializer sets the serializer.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.