# Functions
Marshal converts the rule Values to a json byte slice.
NewChannelRestrictMgr constructs a new instance of a ChannelRestrictMgr.
NewPeerRestrictMgr constructs a new PeerRestrictMgr.
NewRuleManagerSet creates a new map of the supported rule ManagerSet.
UseLogger uses a specified Logger to output package logging info.
# Constants
ChanConstraintName is the string identifier of the ChannelConstraint rule.
ChannelRestrictName is the string identifier of the ChannelRestrict rule.
ChanPolicyBoundsName is the string identifier of the ChanPolicyBounds rule.
HistoryLimitName is the string identifier of the HistoryLimit rule.
LndConnIdLen is the length of the random connection ID used to create unique request identifiers.
OnChainBudgetName is the string identifier of the OnChainBudgetMgr rule.
PeersRestrictName is the string identifier of the PeerRestrict rule.
RateLimitName is the string identifier of the RateLimitMgr values.
No description provided by the author
# Variables
ErrUnknownRule indicates that LiT is unaware of a values name.
# Structs
ChanConstraintMgr manages the ChannelConstraint rule.
ChannelConstraint represents the channel opening constraint rule.
ChannelRestrict is a rule prevents calls from acting upon a given set of channels.
ChannelRestrictEnforcer enforces requests and responses against a ChannelRestrict rule.
ChannelRestrictMgr manages the ChannelRestrict rule.
ChanPolicyBounds represents the channel policy bounds rule.
ChanPolicyBoundsMgr manages the ChanPolicyBounds rule.
ConfigImpl is an implementation of the Config interface.
HistoryLimit represents the history-limit values.
HistoryLimitMgr manages the History limit rule.
OnChainBudget are the static values that determine the on-chain budget.
OnChainBudgetEnforcer enforces requests and responses against a OnChainBudget rule.
OnChainBudgetMgr manages the OnChainBudget rule.
PeerRestrict is a rule prevents calls from acting upon a given set of peers.
PeerRestrictEnforcer enforces requests and responses against a PeerRestrict rule.
PeerRestrictMgr manages the PeerRestrict rule.
Rate describes a rate limit in iterations per number of hours.
RateLimit represents the rules values.
RateLimitEnforcer enforces requests and responses against a RateLimit rule.
RateLimitMgr represents the rate limit values.
# Interfaces
ChanOpenReq represents either a BatchOpenChannel or OpenChannelRequest.
Config encompasses all the possible configuration items that could be required by the various rules.
Enforcer is the interface that any firewall rule enforcer must implement.
Manager is the interface that any firewall rule managers will need to implement.
Values represents the static values that encompass the settings of the rule.
# Type aliases
ManagerSet is a map from a rule name to a rule Manager.