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 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 gateway defines a grpc-gateway server that serves HTTP-JSON traffic and acts a proxy between HTTP and gRPC.
|
Package gateway defines a grpc-gateway server that serves HTTP-JSON traffic and acts a proxy between HTTP and gRPC. |
Package pagination contains useful pagination-related helpers.
|
Package pagination contains useful pagination-related helpers. |
Click to show internal directories.
Click to hide internal directories.