Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BoostService ¶
type BoostService struct {
// contains filtered or unexported fields
}
BoostService TODO
func NewBoostService ¶
func NewBoostService(listenAddr string, relays []RelayEntry, log *logrus.Entry, relayRequestTimeout time.Duration) (*BoostService, error)
NewBoostService created a new BoostService
func (*BoostService) StartHTTPServer ¶ added in v0.4.0
func (m *BoostService) StartHTTPServer() error
StartHTTPServer starts the HTTP server for this boost service instance
type HTTPServerTimeouts ¶ added in v0.4.0
type HTTPServerTimeouts struct {
Read time.Duration // Timeout for body reads. None if 0.
ReadHeader time.Duration // Timeout for header reads. None if 0.
Write time.Duration // Timeout for writes. None if 0.
Idle time.Duration // Timeout to disconnect idle client connections. None if 0.
}
HTTPServerTimeouts are various timeouts for requests to the mev-boost HTTP server
func NewDefaultHTTPServerTimeouts ¶ added in v0.4.0
func NewDefaultHTTPServerTimeouts() HTTPServerTimeouts
NewDefaultHTTPServerTimeouts creates default server timeouts
type RelayEntry ¶ added in v0.4.2
RelayEntry represents a relay that mev-boost connects to
Click to show internal directories.
Click to hide internal directories.