misc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceSlotChain

func GetResourceSlotChain(rsName string) *base.SlotChain

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

func RegisterGlobalStatSlot(slot base.StatSlot)

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)

func RegisterStatSlotForResource

func RegisterStatSlotForResource(rsName string, slot base.StatSlot)

Types

This section is empty.

Jump to

Keyboard shortcuts

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