# Functions
No description provided by the author
Entry is the basic API of Sentinel.
No description provided by the author
environment and the default value.
InitWithConfig initializes Sentinel using given config.
Init loads Sentinel general configuration from the given YAML file and initializes Sentinel.
SetSlotChain replaces current slot chain with the given one.
TraceError records the provided error to the given SentinelEntry.
WithAcquireCount sets the resource entry with the given batch count (by default 1).
WithArgs sets the resource entry with the given additional parameters.
WithAttachment set the resource entry with the given k-v pair.
WithAttachment set the resource entry with the given k-v pairs.
WithFlag sets the resource entry with the given additional flag.
WithResourceType sets the resource entry with the given resource type.
WithSlotChain sets the slot chain.
WithTrafficType sets the resource entry with the given traffic type.
# Structs
EntryOptions represents the options of a Sentinel resource entry.
# Type aliases
No description provided by the author