Documentation
¶
Overview ¶
Copyright (C) 2023 wwhai
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) Hnc8RegisterPoint later version.
This program is distributed in the hope that it will be useful, but WITHOUT Hnc8RegisterPoint WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- func DeleteValue(Slot, K string)
- func Flush()
- func GetSlot(Slot string) map[string]Hnc8RegisterPoint
- func InitHnc8CnCPointCache(ruleEngine typex.RuleX) intercache.InterCache
- func RegisterSlot(Slot string)
- func SetValue(Slot, K string, V Hnc8RegisterPoint)
- func Size() uint64
- func UnRegisterSlot(Slot string)
- type Hnc8CnCPointCache
- func (M *Hnc8CnCPointCache) DeleteValue(Slot, K string)
- func (M *Hnc8CnCPointCache) Flush()
- func (M *Hnc8CnCPointCache) GetSlot(Slot string) map[string]Hnc8RegisterPoint
- func (M *Hnc8CnCPointCache) GetValue(Slot, K string) Hnc8RegisterPoint
- func (M *Hnc8CnCPointCache) RegisterSlot(Slot string)
- func (M *Hnc8CnCPointCache) SetValue(Slot, K string, V Hnc8RegisterPoint)
- func (M *Hnc8CnCPointCache) Size() uint64
- func (M *Hnc8CnCPointCache) UnRegisterSlot(Slot string)
- type Hnc8RegisterPoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteValue ¶
func DeleteValue(Slot, K string)
func GetSlot ¶
func GetSlot(Slot string) map[string]Hnc8RegisterPoint
func InitHnc8CnCPointCache ¶
func InitHnc8CnCPointCache(ruleEngine typex.RuleX) intercache.InterCache
func RegisterSlot ¶
func RegisterSlot(Slot string)
func SetValue ¶
func SetValue(Slot, K string, V Hnc8RegisterPoint)
func UnRegisterSlot ¶
func UnRegisterSlot(Slot string)
Types ¶
type Hnc8CnCPointCache ¶
type Hnc8CnCPointCache struct { Slots map[string]map[string]Hnc8RegisterPoint // contains filtered or unexported fields }
func (*Hnc8CnCPointCache) DeleteValue ¶
func (M *Hnc8CnCPointCache) DeleteValue(Slot, K string)
func (*Hnc8CnCPointCache) Flush ¶
func (M *Hnc8CnCPointCache) Flush()
func (*Hnc8CnCPointCache) GetSlot ¶
func (M *Hnc8CnCPointCache) GetSlot(Slot string) map[string]Hnc8RegisterPoint
func (*Hnc8CnCPointCache) GetValue ¶
func (M *Hnc8CnCPointCache) GetValue(Slot, K string) Hnc8RegisterPoint
func (*Hnc8CnCPointCache) RegisterSlot ¶
func (M *Hnc8CnCPointCache) RegisterSlot(Slot string)
func (*Hnc8CnCPointCache) SetValue ¶
func (M *Hnc8CnCPointCache) SetValue(Slot, K string, V Hnc8RegisterPoint)
func (*Hnc8CnCPointCache) Size ¶
func (M *Hnc8CnCPointCache) Size() uint64
func (*Hnc8CnCPointCache) UnRegisterSlot ¶
func (M *Hnc8CnCPointCache) UnRegisterSlot(Slot string)