Documentation ¶
Overview ¶
Package website contains the service delivering the website
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerAlreadyStarted = errors.New("server was already started")
Functions ¶
This section is empty.
Types ¶
type StatusHTMLData ¶
type StatusHTMLData struct { Network string RelayPubkey string ValidatorsTotal string ValidatorsRegistered string BellatrixForkVersion string GenesisForkVersion string GenesisValidatorsRoot string BuilderSigningDomain string BeaconProposerSigningDomain string HeadSlot string NumPayloadsDelivered string Payloads []*database.DeliveredPayloadEntry }
type Webserver ¶
type Webserver struct {
// contains filtered or unexported fields
}
func NewWebserver ¶
func NewWebserver(opts *WebserverOpts) (*Webserver, error)
func (*Webserver) StartServer ¶
type WebserverOpts ¶
type WebserverOpts struct { ListenAddress string RelayPubkeyHex string NetworkDetails *common.EthNetworkDetails Redis *datastore.RedisCache DB *database.DatabaseService Log *logrus.Entry }
Click to show internal directories.
Click to hide internal directories.