package
0.0.0-20221012104413-7838e69214a3
Repository: https://github.com/bliiitz/dirk.git
Documentation: pkg.go.dev
# Structs
AccessAccountData is passed to 'OnAccessAccount' rules.
Checkpoint is part of SignBeaconAttestationData.
CreateAccountData is passed to 'OnCreateAccount' rules.
LockAccountData is passed to 'OnLockAccount' rules.
LockWalletData is passed to 'OnLockWallet' rules.
ReqMetadata contains request-specific metadata that can be used by the rules to help decide if a request should succeed or be denied.
SignBeaconAttestationData is passed to 'OnSignBeaconAttestation' rules.
SignBeaconProposalData is passed to 'OnSignBeaconProposal' rules.
SignData is passed to 'Sign' rules.
SlashingProtection provides the slashing protection for a given key.
UnlockAccountData is passed to 'OnUnlockAccount' rules.
UnlockWalletData is passed to 'OnUnlockWallet' rules.
# Interfaces
Service is the interface that must be followed by a remote ruler for approval of requests.
# Type aliases
Result represents the result of running a set of rules.