Documentation
¶
Overview ¶
package submit acts as a sigsum submit client It submits a leaf to a log, and collects a sigsum proof.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SubmitLeafRequest ¶
Types ¶
type Config ¶
type Config struct { // Domain and signer to use for rate limit sigsum-token: header. Domain string RateLimitSigner crypto.Signer // Timeout, before trying try next log. Zero implies a default // timeout is used. PerLogTimeout time.Duration // Delay when repeating add-leaf requests to the log, as well // as for polling for a cosigned tree head and inclusion // proof. PollDelay time.Duration UserAgent string // The policy specifies the logs and witnesses to use. Policy *policy.Policy }
Click to show internal directories.
Click to hide internal directories.