package
0.0.3
Repository: https://github.com/hujingwei/go-zero.git
Documentation: pkg.go.dev

# Functions

Exist is used to check criticality is exist in several enumeration.
Parse will parse raw criticality string as valid critality.
Value is used to get criticality value, higher value is more critical.

# Variables

Critical is the default value for requests sent from production jobs.
CriticalPlus is reserved for the most critical requests, those that will result in serious user-visible impact if they fail.
EmptyCriticality is used to mark any invalid criticality, and the empty criticality will be parsed as the default criticality later.
Sheddable is traffic for which frequent partial unavailability and occasional full unavailability is expected.
SheddablePlus is traffic for which partial unavailability is expected.

# Type aliases

Criticality is.