Documentation ¶
Index ¶
Constants ¶
View Source
const ( WebUrlPrefix = "/v2/validator/" WebApiUrlPrefix = "/api/v2/validator/" KeymanagerApiPrefix = "/eth/v1" SystemLogsPrefix = "health/logs" AuthTokenFileName = "auth-token" )
View Source
const ( VersionHeader = "Eth-Consensus-Version" ExecutionPayloadBlindedHeader = "Eth-Execution-Payload-Blinded" ExecutionPayloadValueHeader = "Eth-Execution-Payload-Value" ConsensusBlockValueHeader = "Eth-Consensus-Block-Value" JsonMediaType = "application/json" OctetStreamMediaType = "application/octet-stream" EventStreamMediaType = "text/event-stream" KeepAlive = "keep-alive" )
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomHexString ¶ added in v5.0.4
GenerateRandomHexString generates a random hex string that follows the standards for jwt token used for beacon node -> execution client used for web client -> validator client
func SetSSEHeaders ¶ added in v5.1.1
func SetSSEHeaders(w http.ResponseWriter)
SetSSEHeaders sets the headers needed for a server-sent event response.
func ValidateAuthToken ¶ added in v5.0.4
ValidateAuthToken validating auth token for web
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
beacon
Package beacon provides a client for interacting with the standard Eth Beacon Node API.
|
Package beacon provides a client for interacting with the standard Eth Beacon Node API. |
Package pagination contains useful pagination-related helpers.
|
Package pagination contains useful pagination-related helpers. |
Click to show internal directories.
Click to hide internal directories.