manager

package
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager represents CoreStorage manager

func New

func New(cfg *core.Core, logger *zap.Logger) (*Manager, error)

New creates new CoreStorage manager

func (*Manager) Get

func (m *Manager) Get(name string) (coreStorage.CoreStorage, error)

Get the CoreStorage by the name

func (*Manager) Stop added in v0.7.0

func (m *Manager) Stop()

Stop the manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL