Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Retries sets the number of retries done when reading message from storage. // They are run with exponential backoff, with 1 second to and 2 exponent, // so it is reasonable for it to stay below 10 Retries uint `envconfig:"RETRIES" default:"6"` }
type SignedValidator ¶
type SignedValidator struct {
// contains filtered or unexported fields
}
func New ¶
func New(messageReader storage.MessageReader, decoder storage.Decoder, config Config) (*SignedValidator, error)
Click to show internal directories.
Click to hide internal directories.