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 is a struct that updates snapshot of a datatype in Orda server
func NewManager ¶
func NewManager( ctx iface.OrdaContext, managers *managers.Managers, datatypeDoc *schema.DatatypeDoc, collectionDoc *schema.CollectionDoc, ) *Manager
NewManager returns an instance of Snapshot Manager
func (*Manager) GetLatestDatatype ¶
GetLatestDatatype returns the datatype from database
func (*Manager) UpdateSnapshot ¶
UpdateSnapshot updates snapshot for specified datatype
Click to show internal directories.
Click to hide internal directories.