Documentation
¶
Index ¶
- func GetResourceSlotChain(rsName string) *base.SlotChain
- func RegisterGlobalRuleCheckSlot(slot base.RuleCheckSlot)
- func RegisterGlobalStatPrepareSlot(slot base.StatPrepareSlot)
- func RegisterGlobalStatSlot(slot base.StatSlot)
- func RegisterRuleCheckSlotForResource(rsName string, slot base.RuleCheckSlot)
- func RegisterStatPrepareSlotForResource(rsName string, slot base.StatPrepareSlot)
- func RegisterStatSlotForResource(rsName string, slot base.StatSlot)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceSlotChain ¶
func RegisterGlobalRuleCheckSlot ¶
func RegisterGlobalRuleCheckSlot(slot base.RuleCheckSlot)
RegisterGlobalRuleCheckSlot is not thread safe, and user must call RegisterGlobalRuleCheckSlot when initializing sentinel running environment
func RegisterGlobalStatPrepareSlot ¶
func RegisterGlobalStatPrepareSlot(slot base.StatPrepareSlot)
RegisterGlobalStatPrepareSlot is not thread safe, and user must call RegisterGlobalStatPrepareSlot when initializing sentinel running environment
func RegisterGlobalStatSlot ¶
RegisterGlobalStatSlot is not thread safe, and user must call RegisterGlobalStatSlot when initializing sentinel running environment
func RegisterRuleCheckSlotForResource ¶
func RegisterRuleCheckSlotForResource(rsName string, slot base.RuleCheckSlot)
func RegisterStatPrepareSlotForResource ¶
func RegisterStatPrepareSlotForResource(rsName string, slot base.StatPrepareSlot)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.