Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryErrorCode ¶ added in v0.8.0
var ( ErrDNSLookup DiscoveryErrorCode = errorcode.New("dns_lookup", errors.New("failed to lookup DNS")) ErrDNSDecodePolicy DiscoveryErrorCode = errorcode.New("dns_decode_policy", errors.New("failed to decode dns record policy")) ErrDNSDecodeKeys DiscoveryErrorCode = errorcode.New("dns_decode_key", errors.New("failed to decode dns record keys")) )
type SigningErrorCode ¶
var ( ErrSigningGenerateNonce SigningErrorCode = errorcode.New("generate_nonce", errors.New("failed to generate nonce")) ErrSigningCounterpartyLookup SigningErrorCode = errorcode.New("invocation_counterparty_lookup", errors.New("failed to lookup invocation counterparty")) ErrSigningEmbossMessage SigningErrorCode = errorcode.New("emboss_message", errors.New("failed to emboss message")) )
type VerifyErrorCode ¶
var ( ErrVerifyDecodeSignature VerifyErrorCode = errorcode.New("decode_signature", errors.New("failed to decode signature")) ErrVerifySignatureRequestHostMismatch VerifyErrorCode = errorcode.New("signature_host_mismatch", errors.New("invocation hostname does not match request")) ErrVerifyCounterpartyLookup VerifyErrorCode = errorcode.New("counterparty_lookup", errors.New("failed to lookup signature counterparty")) ErrVerifyInvalidSignature VerifyErrorCode = errorcode.New("invalid_signature", errors.New("signature is not valid")) )
Click to show internal directories.
Click to hide internal directories.