meta

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection struct {
	Item      *item.Controller
	Matrix    *matrix.Controller
	Stage     *stage.Controller
	Zone      *zone.Controller
	SiteStats *siteStats.Controller
}

Collection consists of all local controllers that manages records

func NewCollection

func NewCollection() *Collection

NewCollection creates all underlying controllers and returns Collection

func (*Collection) Statuses

func (c *Collection) Statuses(server string) map[string]*status.Status

Statuses collects cache status from its underlying utils.Cache instance and return a map which its key is the controller name, and value is the status.Status

Jump to

Keyboard shortcuts

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