Documentation
¶
Overview ¶
Package bastion is an implementation of a witness feeder which talks to a bastion server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Addr string Prefix string Logs []config.Log BastionKey ed25519.PrivateKey WitnessVerifier note.Verifier Limits RequestLimits }
type RequestLimits ¶
type RequestLimits struct { // TotalPerSecond is the total number of incoming requests per second which should be served, zero mean no requests will be served. TotalPerSecond rate.Limit }
RequestLimits describes how incoming requests should be limited.
Click to show internal directories.
Click to hide internal directories.