Documentation
¶
Index ¶
- Constants
- func GenesisMethod(w http.ResponseWriter, r *http.Request)
- func SpecMethod(w http.ResponseWriter, r *http.Request)
- func VersionMethod(w http.ResponseWriter, r *http.Request)
- type APIGenesisResponse
- type APIGetBlobSidecarsResponse
- type BlobSidecar
- type Config
- type IndexedBlobHash
- type ReducedConfigData
- type ReducedGenesisData
- type Service
Constants ¶
View Source
const ( DefaultAddr = "localhost" DefaultPort = 8686 )
View Source
const MaxBlobsPerBlock = 6
Variables ¶
This section is empty.
Functions ¶
func GenesisMethod ¶
func GenesisMethod(w http.ResponseWriter, r *http.Request)
func SpecMethod ¶
func SpecMethod(w http.ResponseWriter, r *http.Request)
func VersionMethod ¶
func VersionMethod(w http.ResponseWriter, r *http.Request)
Types ¶
type APIGenesisResponse ¶
type APIGenesisResponse struct {
Data ReducedGenesisData `json:"data"`
}
type APIGetBlobSidecarsResponse ¶
type APIGetBlobSidecarsResponse struct {
Data []*BlobSidecar `json:"data"`
}
type BlobSidecar ¶
type IndexedBlobHash ¶
type ReducedConfigData ¶
type ReducedConfigData struct {
SecondsPerSlot string `json:"SECONDS_PER_SLOT"`
}
type ReducedGenesisData ¶
type ReducedGenesisData struct {
GenesisTime string `json:"genesis_time"`
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) SidecarsMethod ¶
func (s *Service) SidecarsMethod(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.