Documentation ¶
Index ¶
- type Manager
- func (manager *Manager) All() []Model
- func (manager *Manager) Broadcast(next Nexter)
- func (manager *Manager) CheckModel(model Model, include Params, exclude ...Params) bool
- func (manager *Manager) CheckPointers(model Model)
- func (manager *Manager) Clear()
- func (manager *Manager) ClearId(id any)
- func (manager *Manager) Copy() ManagerI
- func (manager *Manager) Count() uint
- func (manager *Manager) Delete(id any)
- func (manager *Manager) Filter(include Params, exclude ...Params) ManagerI
- func (manager *Manager) First() Model
- func (manager *Manager) Get(id any) Model
- func (manager *Manager) IsInstance() bool
- func (manager *Manager) Last() Model
- func (manager *Manager) Store(id any, model Model)
- func (manager *Manager) Table() Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { UseCache bool OnCount func(ManagerI) uint OnAll func(ManagerI) []Model OnFilter func(manager ManagerI, include Params, exclude ...Params) []Model // contains filtered or unexported fields }
func NewManager ¶
func NewManager(table Table) *Manager
func (*Manager) CheckModel ¶
func (*Manager) CheckPointers ¶
func (manager *Manager) CheckPointers(model Model)
func (*Manager) IsInstance ¶
Click to show internal directories.
Click to hide internal directories.