grayacc

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package grayacc TODO

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HitThreshold

func HitThreshold(uid uint64, threshold uint64, grayUIDs []uint64) bool

HitThreshold 灰度规则控制

func HitWhiteList

func HitWhiteList(uid uint64, uidList []uint64) bool

HitWhiteList 是否命中白名单

func IsHitRules

func IsHitRules(rules []func() bool) bool

IsHitRules 是否命中了规则

Types

This section is empty.

Jump to

Keyboard shortcuts

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