Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNameNotFound = errors.New("name not found")
View Source
var ErrSingletonIDsExceeds = fmt.Errorf("the maximum number of singleton document identifiers (%v) has been exceeded", istructs.MaxSingletonID)
Functions ¶
This section is empty.
Types ¶
type Singletons ¶
type Singletons struct {
// contains filtered or unexported fields
}
Singletons IDs system view.
Use ID() to obtain singleton ID by its QName. Use Prepare() to load Singletons from storage.
func (*Singletons) Prepare ¶
func (st *Singletons) Prepare(storage istorage.IAppStorage, versions *vers.Versions, appDef appdef.IAppDef) (err error)
Loads all singletons IDs from storage, add all known application singletons and store if some changes. Must be called at application starts
Click to show internal directories.
Click to hide internal directories.