Versions in this module Expand all Collapse all v1 v1.0.2 Jun 11, 2026 v1.0.1 Jun 10, 2026 v1.0.0 Jun 10, 2026 Changes in this version + func WithServerURL(ctx context.Context, u *url.URL) context.Context + type Checkpoint struct + Epoch EpochString + Root Root + func (s *Checkpoint) Decode(d *jx.Decoder) error + func (s *Checkpoint) Encode(e *jx.Encoder) + func (s *Checkpoint) GetEpoch() EpochString + func (s *Checkpoint) GetRoot() Root + func (s *Checkpoint) MarshalJSON() ([]byte, error) + func (s *Checkpoint) SetEpoch(val EpochString) + func (s *Checkpoint) SetRoot(val Root) + func (s *Checkpoint) UnmarshalJSON(data []byte) error + type Client struct + func NewClient(serverURL string, opts ...ClientOption) (*Client, error) + func (c *Client) GetEthereumNow(ctx context.Context) (GetEthereumNowRes, error) + func (c *Client) GetEthereumSpec(ctx context.Context) (GetEthereumSpecRes, error) + func (c *Client) GetFrame(ctx context.Context, params GetFrameParams) (GetFrameRes, error) + func (c *Client) ListMetadata(ctx context.Context, request *MetadataQuery) (ListMetadataRes, error) + func (c *Client) ListMetadataEpochs(ctx context.Context, request *MetadataQuery) (ListMetadataEpochsRes, error) + func (c *Client) ListMetadataLabels(ctx context.Context, request *MetadataQuery) (ListMetadataLabelsRes, error) + func (c *Client) ListMetadataNodes(ctx context.Context, request *MetadataQuery) (ListMetadataNodesRes, error) + func (c *Client) ListMetadataSlots(ctx context.Context, request *MetadataQuery) (ListMetadataSlotsRes, error) + type ClientOption interface + func WithClient(client ht.Client) ClientOption + type Epoch int64 + func (s *Epoch) Decode(d *jx.Decoder) error + func (s *Epoch) UnmarshalJSON(data []byte) error + func (s Epoch) Encode(e *jx.Encoder) + func (s Epoch) MarshalJSON() ([]byte, error) + func (s Epoch) Validate() error + type EpochString string + func (s *EpochString) Decode(d *jx.Decoder) error + func (s *EpochString) UnmarshalJSON(data []byte) error + func (s EpochString) Encode(e *jx.Encoder) + func (s EpochString) MarshalJSON() ([]byte, error) + type Error struct + Code int + Message string + func (s *Error) Decode(d *jx.Decoder) error + func (s *Error) Encode(e *jx.Encoder) + func (s *Error) GetCode() int + func (s *Error) GetMessage() string + func (s *Error) MarshalJSON() ([]byte, error) + func (s *Error) SetCode(val int) + func (s *Error) SetMessage(val string) + func (s *Error) UnmarshalJSON(data []byte) error + type ErrorHandler = ogenerrors.ErrorHandler + type EthereumNow struct + Epoch Epoch + Slot Slot + func (s *EthereumNow) Decode(d *jx.Decoder) error + func (s *EthereumNow) Encode(e *jx.Encoder) + func (s *EthereumNow) GetEpoch() Epoch + func (s *EthereumNow) GetSlot() Slot + func (s *EthereumNow) MarshalJSON() ([]byte, error) + func (s *EthereumNow) SetEpoch(val Epoch) + func (s *EthereumNow) SetSlot(val Slot) + func (s *EthereumNow) UnmarshalJSON(data []byte) error + func (s *EthereumNow) Validate() error + type EthereumSpec struct + GenesisTime time.Time + SecondsPerSlot int64 + SlotsPerEpoch int64 + func (s *EthereumSpec) Decode(d *jx.Decoder) error + func (s *EthereumSpec) Encode(e *jx.Encoder) + func (s *EthereumSpec) GetGenesisTime() time.Time + func (s *EthereumSpec) GetSecondsPerSlot() int64 + func (s *EthereumSpec) GetSlotsPerEpoch() int64 + func (s *EthereumSpec) MarshalJSON() ([]byte, error) + func (s *EthereumSpec) SetGenesisTime(val time.Time) + func (s *EthereumSpec) SetSecondsPerSlot(val int64) + func (s *EthereumSpec) SetSlotsPerEpoch(val int64) + func (s *EthereumSpec) UnmarshalJSON(data []byte) error + type EthereumSpecResult struct + NetworkName string + Spec EthereumSpec + func (s *EthereumSpecResult) Decode(d *jx.Decoder) error + func (s *EthereumSpecResult) Encode(e *jx.Encoder) + func (s *EthereumSpecResult) GetNetworkName() string + func (s *EthereumSpecResult) GetSpec() EthereumSpec + func (s *EthereumSpecResult) MarshalJSON() ([]byte, error) + func (s *EthereumSpecResult) SetNetworkName(val string) + func (s *EthereumSpecResult) SetSpec(val EthereumSpec) + func (s *EthereumSpecResult) UnmarshalJSON(data []byte) error + type ForkChoice struct + FinalizedCheckpoint Checkpoint + ForkChoiceNodes []ForkChoiceNode + JustifiedCheckpoint Checkpoint + func (s *ForkChoice) Decode(d *jx.Decoder) error + func (s *ForkChoice) Encode(e *jx.Encoder) + func (s *ForkChoice) GetFinalizedCheckpoint() Checkpoint + func (s *ForkChoice) GetForkChoiceNodes() []ForkChoiceNode + func (s *ForkChoice) GetJustifiedCheckpoint() Checkpoint + func (s *ForkChoice) MarshalJSON() ([]byte, error) + func (s *ForkChoice) SetFinalizedCheckpoint(val Checkpoint) + func (s *ForkChoice) SetForkChoiceNodes(val []ForkChoiceNode) + func (s *ForkChoice) SetJustifiedCheckpoint(val Checkpoint) + func (s *ForkChoice) UnmarshalJSON(data []byte) error + func (s *ForkChoice) Validate() error + type ForkChoiceNode struct + BlockRoot Root + ExecutionBlockHash Root + ExtraData OptForkChoiceNodeExtraData + FinalizedEpoch EpochString + JustifiedEpoch EpochString + ParentRoot Root + Slot SlotString + Validity ForkChoiceNodeValidity + Weight string + func (s *ForkChoiceNode) Decode(d *jx.Decoder) error + func (s *ForkChoiceNode) Encode(e *jx.Encoder) + func (s *ForkChoiceNode) GetBlockRoot() Root + func (s *ForkChoiceNode) GetExecutionBlockHash() Root + func (s *ForkChoiceNode) GetExtraData() OptForkChoiceNodeExtraData + func (s *ForkChoiceNode) GetFinalizedEpoch() EpochString + func (s *ForkChoiceNode) GetJustifiedEpoch() EpochString + func (s *ForkChoiceNode) GetParentRoot() Root + func (s *ForkChoiceNode) GetSlot() SlotString + func (s *ForkChoiceNode) GetValidity() ForkChoiceNodeValidity + func (s *ForkChoiceNode) GetWeight() string + func (s *ForkChoiceNode) MarshalJSON() ([]byte, error) + func (s *ForkChoiceNode) SetBlockRoot(val Root) + func (s *ForkChoiceNode) SetExecutionBlockHash(val Root) + func (s *ForkChoiceNode) SetExtraData(val OptForkChoiceNodeExtraData) + func (s *ForkChoiceNode) SetFinalizedEpoch(val EpochString) + func (s *ForkChoiceNode) SetJustifiedEpoch(val EpochString) + func (s *ForkChoiceNode) SetParentRoot(val Root) + func (s *ForkChoiceNode) SetSlot(val SlotString) + func (s *ForkChoiceNode) SetValidity(val ForkChoiceNodeValidity) + func (s *ForkChoiceNode) SetWeight(val string) + func (s *ForkChoiceNode) UnmarshalJSON(data []byte) error + func (s *ForkChoiceNode) Validate() error + type ForkChoiceNodeExtraData map[string]jx.Raw + func (s *ForkChoiceNodeExtraData) Decode(d *jx.Decoder) error + func (s *ForkChoiceNodeExtraData) UnmarshalJSON(data []byte) error + func (s ForkChoiceNodeExtraData) Encode(e *jx.Encoder) + func (s ForkChoiceNodeExtraData) MarshalJSON() ([]byte, error) + type ForkChoiceNodeValidity string + const ForkChoiceNodeValidityInvalid + const ForkChoiceNodeValidityOptimistic + const ForkChoiceNodeValidityUnknown + const ForkChoiceNodeValidityValid + func (ForkChoiceNodeValidity) AllValues() []ForkChoiceNodeValidity + func (s *ForkChoiceNodeValidity) Decode(d *jx.Decoder) error + func (s *ForkChoiceNodeValidity) UnmarshalJSON(data []byte) error + func (s *ForkChoiceNodeValidity) UnmarshalText(data []byte) error + func (s ForkChoiceNodeValidity) Encode(e *jx.Encoder) + func (s ForkChoiceNodeValidity) MarshalJSON() ([]byte, error) + func (s ForkChoiceNodeValidity) MarshalText() ([]byte, error) + func (s ForkChoiceNodeValidity) Validate() error + type Frame struct + Data ForkChoice + Metadata FrameMetadata + func (s *Frame) Decode(d *jx.Decoder) error + func (s *Frame) Encode(e *jx.Encoder) + func (s *Frame) GetData() ForkChoice + func (s *Frame) GetMetadata() FrameMetadata + func (s *Frame) MarshalJSON() ([]byte, error) + func (s *Frame) SetData(val ForkChoice) + func (s *Frame) SetMetadata(val FrameMetadata) + func (s *Frame) UnmarshalJSON(data []byte) error + func (s *Frame) Validate() error + type FrameFilter struct + After OptDateTime + Before OptDateTime + ConsensusClient OptString + Epoch OptEpoch + EventSource OptString + Labels []string + Node OptString + Slot OptSlot + func (s *FrameFilter) Decode(d *jx.Decoder) error + func (s *FrameFilter) Encode(e *jx.Encoder) + func (s *FrameFilter) GetAfter() OptDateTime + func (s *FrameFilter) GetBefore() OptDateTime + func (s *FrameFilter) GetConsensusClient() OptString + func (s *FrameFilter) GetEpoch() OptEpoch + func (s *FrameFilter) GetEventSource() OptString + func (s *FrameFilter) GetLabels() []string + func (s *FrameFilter) GetNode() OptString + func (s *FrameFilter) GetSlot() OptSlot + func (s *FrameFilter) MarshalJSON() ([]byte, error) + func (s *FrameFilter) SetAfter(val OptDateTime) + func (s *FrameFilter) SetBefore(val OptDateTime) + func (s *FrameFilter) SetConsensusClient(val OptString) + func (s *FrameFilter) SetEpoch(val OptEpoch) + func (s *FrameFilter) SetEventSource(val OptString) + func (s *FrameFilter) SetLabels(val []string) + func (s *FrameFilter) SetNode(val OptString) + func (s *FrameFilter) SetSlot(val OptSlot) + func (s *FrameFilter) UnmarshalJSON(data []byte) error + func (s *FrameFilter) Validate() error + type FrameMetadata struct + ConsensusClient string + EventSource string + FetchedAt time.Time + ID string + Labels []string + Node string + WallClockEpoch Epoch + WallClockSlot Slot + func (s *FrameMetadata) Decode(d *jx.Decoder) error + func (s *FrameMetadata) Encode(e *jx.Encoder) + func (s *FrameMetadata) GetConsensusClient() string + func (s *FrameMetadata) GetEventSource() string + func (s *FrameMetadata) GetFetchedAt() time.Time + func (s *FrameMetadata) GetID() string + func (s *FrameMetadata) GetLabels() []string + func (s *FrameMetadata) GetNode() string + func (s *FrameMetadata) GetWallClockEpoch() Epoch + func (s *FrameMetadata) GetWallClockSlot() Slot + func (s *FrameMetadata) MarshalJSON() ([]byte, error) + func (s *FrameMetadata) SetConsensusClient(val string) + func (s *FrameMetadata) SetEventSource(val string) + func (s *FrameMetadata) SetFetchedAt(val time.Time) + func (s *FrameMetadata) SetID(val string) + func (s *FrameMetadata) SetLabels(val []string) + func (s *FrameMetadata) SetNode(val string) + func (s *FrameMetadata) SetWallClockEpoch(val Epoch) + func (s *FrameMetadata) SetWallClockSlot(val Slot) + func (s *FrameMetadata) UnmarshalJSON(data []byte) error + func (s *FrameMetadata) Validate() error + type GetEthereumNowOK struct + Data EthereumNow + func (s *GetEthereumNowOK) Decode(d *jx.Decoder) error + func (s *GetEthereumNowOK) Encode(e *jx.Encoder) + func (s *GetEthereumNowOK) GetData() EthereumNow + func (s *GetEthereumNowOK) MarshalJSON() ([]byte, error) + func (s *GetEthereumNowOK) SetData(val EthereumNow) + func (s *GetEthereumNowOK) UnmarshalJSON(data []byte) error + func (s *GetEthereumNowOK) Validate() error + type GetEthereumNowOKHeaders struct + CacheControl OptString + Response GetEthereumNowOK + func (s *GetEthereumNowOKHeaders) GetCacheControl() OptString + func (s *GetEthereumNowOKHeaders) GetResponse() GetEthereumNowOK + func (s *GetEthereumNowOKHeaders) SetCacheControl(val OptString) + func (s *GetEthereumNowOKHeaders) SetResponse(val GetEthereumNowOK) + func (s *GetEthereumNowOKHeaders) Validate() error + type GetEthereumNowRes interface + type GetEthereumSpecOK struct + Data EthereumSpecResult + func (s *GetEthereumSpecOK) Decode(d *jx.Decoder) error + func (s *GetEthereumSpecOK) Encode(e *jx.Encoder) + func (s *GetEthereumSpecOK) GetData() EthereumSpecResult + func (s *GetEthereumSpecOK) MarshalJSON() ([]byte, error) + func (s *GetEthereumSpecOK) SetData(val EthereumSpecResult) + func (s *GetEthereumSpecOK) UnmarshalJSON(data []byte) error + type GetEthereumSpecOKHeaders struct + CacheControl OptString + Response GetEthereumSpecOK + func (s *GetEthereumSpecOKHeaders) GetCacheControl() OptString + func (s *GetEthereumSpecOKHeaders) GetResponse() GetEthereumSpecOK + func (s *GetEthereumSpecOKHeaders) SetCacheControl(val OptString) + func (s *GetEthereumSpecOKHeaders) SetResponse(val GetEthereumSpecOK) + type GetEthereumSpecRes interface + type GetFrameOK struct + Data GetFrameOKData + func (s *GetFrameOK) Decode(d *jx.Decoder) error + func (s *GetFrameOK) Encode(e *jx.Encoder) + func (s *GetFrameOK) GetData() GetFrameOKData + func (s *GetFrameOK) MarshalJSON() ([]byte, error) + func (s *GetFrameOK) SetData(val GetFrameOKData) + func (s *GetFrameOK) UnmarshalJSON(data []byte) error + func (s *GetFrameOK) Validate() error + type GetFrameOKData struct + Frame Frame + func (s *GetFrameOKData) Decode(d *jx.Decoder) error + func (s *GetFrameOKData) Encode(e *jx.Encoder) + func (s *GetFrameOKData) GetFrame() Frame + func (s *GetFrameOKData) MarshalJSON() ([]byte, error) + func (s *GetFrameOKData) SetFrame(val Frame) + func (s *GetFrameOKData) UnmarshalJSON(data []byte) error + func (s *GetFrameOKData) Validate() error + type GetFrameOKHeaders struct + CacheControl OptString + Response GetFrameOK + func (s *GetFrameOKHeaders) GetCacheControl() OptString + func (s *GetFrameOKHeaders) GetResponse() GetFrameOK + func (s *GetFrameOKHeaders) SetCacheControl(val OptString) + func (s *GetFrameOKHeaders) SetResponse(val GetFrameOK) + func (s *GetFrameOKHeaders) Validate() error + type GetFrameParams struct + ID string + type GetFrameRes interface + type Handler interface + GetEthereumNow func(ctx context.Context) (GetEthereumNowRes, error) + GetEthereumSpec func(ctx context.Context) (GetEthereumSpecRes, error) + GetFrame func(ctx context.Context, params GetFrameParams) (GetFrameRes, error) + ListMetadata func(ctx context.Context, req *MetadataQuery) (ListMetadataRes, error) + ListMetadataEpochs func(ctx context.Context, req *MetadataQuery) (ListMetadataEpochsRes, error) + ListMetadataLabels func(ctx context.Context, req *MetadataQuery) (ListMetadataLabelsRes, error) + ListMetadataNodes func(ctx context.Context, req *MetadataQuery) (ListMetadataNodesRes, error) + ListMetadataSlots func(ctx context.Context, req *MetadataQuery) (ListMetadataSlotsRes, error) + NewError func(ctx context.Context, err error) *UnexpectedErrorStatusCode + type Invoker interface + GetEthereumNow func(ctx context.Context) (GetEthereumNowRes, error) + GetEthereumSpec func(ctx context.Context) (GetEthereumSpecRes, error) + GetFrame func(ctx context.Context, params GetFrameParams) (GetFrameRes, error) + ListMetadata func(ctx context.Context, request *MetadataQuery) (ListMetadataRes, error) + ListMetadataEpochs func(ctx context.Context, request *MetadataQuery) (ListMetadataEpochsRes, error) + ListMetadataLabels func(ctx context.Context, request *MetadataQuery) (ListMetadataLabelsRes, error) + ListMetadataNodes func(ctx context.Context, request *MetadataQuery) (ListMetadataNodesRes, error) + ListMetadataSlots func(ctx context.Context, request *MetadataQuery) (ListMetadataSlotsRes, error) + type Labeler struct + func LabelerFromContext(ctx context.Context) (*Labeler, bool) + func (l *Labeler) Add(attrs ...attribute.KeyValue) + func (l *Labeler) AttributeSet() attribute.Set + type ListMetadataEpochsOK struct + Data ListMetadataEpochsOKData + func (s *ListMetadataEpochsOK) Decode(d *jx.Decoder) error + func (s *ListMetadataEpochsOK) Encode(e *jx.Encoder) + func (s *ListMetadataEpochsOK) GetData() ListMetadataEpochsOKData + func (s *ListMetadataEpochsOK) MarshalJSON() ([]byte, error) + func (s *ListMetadataEpochsOK) SetData(val ListMetadataEpochsOKData) + func (s *ListMetadataEpochsOK) UnmarshalJSON(data []byte) error + func (s *ListMetadataEpochsOK) Validate() error + type ListMetadataEpochsOKData struct + Epochs []Epoch + Pagination PaginationResponse + func (s *ListMetadataEpochsOKData) Decode(d *jx.Decoder) error + func (s *ListMetadataEpochsOKData) Encode(e *jx.Encoder) + func (s *ListMetadataEpochsOKData) GetEpochs() []Epoch + func (s *ListMetadataEpochsOKData) GetPagination() PaginationResponse + func (s *ListMetadataEpochsOKData) MarshalJSON() ([]byte, error) + func (s *ListMetadataEpochsOKData) SetEpochs(val []Epoch) + func (s *ListMetadataEpochsOKData) SetPagination(val PaginationResponse) + func (s *ListMetadataEpochsOKData) UnmarshalJSON(data []byte) error + func (s *ListMetadataEpochsOKData) Validate() error + type ListMetadataEpochsOKHeaders struct + CacheControl OptString + Response ListMetadataEpochsOK + func (s *ListMetadataEpochsOKHeaders) GetCacheControl() OptString + func (s *ListMetadataEpochsOKHeaders) GetResponse() ListMetadataEpochsOK + func (s *ListMetadataEpochsOKHeaders) SetCacheControl(val OptString) + func (s *ListMetadataEpochsOKHeaders) SetResponse(val ListMetadataEpochsOK) + func (s *ListMetadataEpochsOKHeaders) Validate() error + type ListMetadataEpochsRes interface + type ListMetadataLabelsOK struct + Data ListMetadataLabelsOKData + func (s *ListMetadataLabelsOK) Decode(d *jx.Decoder) error + func (s *ListMetadataLabelsOK) Encode(e *jx.Encoder) + func (s *ListMetadataLabelsOK) GetData() ListMetadataLabelsOKData + func (s *ListMetadataLabelsOK) MarshalJSON() ([]byte, error) + func (s *ListMetadataLabelsOK) SetData(val ListMetadataLabelsOKData) + func (s *ListMetadataLabelsOK) UnmarshalJSON(data []byte) error + func (s *ListMetadataLabelsOK) Validate() error + type ListMetadataLabelsOKData struct + Labels []string + Pagination PaginationResponse + func (s *ListMetadataLabelsOKData) Decode(d *jx.Decoder) error + func (s *ListMetadataLabelsOKData) Encode(e *jx.Encoder) + func (s *ListMetadataLabelsOKData) GetLabels() []string + func (s *ListMetadataLabelsOKData) GetPagination() PaginationResponse + func (s *ListMetadataLabelsOKData) MarshalJSON() ([]byte, error) + func (s *ListMetadataLabelsOKData) SetLabels(val []string) + func (s *ListMetadataLabelsOKData) SetPagination(val PaginationResponse) + func (s *ListMetadataLabelsOKData) UnmarshalJSON(data []byte) error + func (s *ListMetadataLabelsOKData) Validate() error + type ListMetadataLabelsOKHeaders struct + CacheControl OptString + Response ListMetadataLabelsOK + func (s *ListMetadataLabelsOKHeaders) GetCacheControl() OptString + func (s *ListMetadataLabelsOKHeaders) GetResponse() ListMetadataLabelsOK + func (s *ListMetadataLabelsOKHeaders) SetCacheControl(val OptString) + func (s *ListMetadataLabelsOKHeaders) SetResponse(val ListMetadataLabelsOK) + func (s *ListMetadataLabelsOKHeaders) Validate() error + type ListMetadataLabelsRes interface + type ListMetadataNodesOK struct + Data ListMetadataNodesOKData + func (s *ListMetadataNodesOK) Decode(d *jx.Decoder) error + func (s *ListMetadataNodesOK) Encode(e *jx.Encoder) + func (s *ListMetadataNodesOK) GetData() ListMetadataNodesOKData + func (s *ListMetadataNodesOK) MarshalJSON() ([]byte, error) + func (s *ListMetadataNodesOK) SetData(val ListMetadataNodesOKData) + func (s *ListMetadataNodesOK) UnmarshalJSON(data []byte) error + func (s *ListMetadataNodesOK) Validate() error + type ListMetadataNodesOKData struct + Nodes []string + Pagination PaginationResponse + func (s *ListMetadataNodesOKData) Decode(d *jx.Decoder) error + func (s *ListMetadataNodesOKData) Encode(e *jx.Encoder) + func (s *ListMetadataNodesOKData) GetNodes() []string + func (s *ListMetadataNodesOKData) GetPagination() PaginationResponse + func (s *ListMetadataNodesOKData) MarshalJSON() ([]byte, error) + func (s *ListMetadataNodesOKData) SetNodes(val []string) + func (s *ListMetadataNodesOKData) SetPagination(val PaginationResponse) + func (s *ListMetadataNodesOKData) UnmarshalJSON(data []byte) error + func (s *ListMetadataNodesOKData) Validate() error + type ListMetadataNodesOKHeaders struct + CacheControl OptString + Response ListMetadataNodesOK + func (s *ListMetadataNodesOKHeaders) GetCacheControl() OptString + func (s *ListMetadataNodesOKHeaders) GetResponse() ListMetadataNodesOK + func (s *ListMetadataNodesOKHeaders) SetCacheControl(val OptString) + func (s *ListMetadataNodesOKHeaders) SetResponse(val ListMetadataNodesOK) + func (s *ListMetadataNodesOKHeaders) Validate() error + type ListMetadataNodesRes interface + type ListMetadataOK struct + Data ListMetadataOKData + func (s *ListMetadataOK) Decode(d *jx.Decoder) error + func (s *ListMetadataOK) Encode(e *jx.Encoder) + func (s *ListMetadataOK) GetData() ListMetadataOKData + func (s *ListMetadataOK) MarshalJSON() ([]byte, error) + func (s *ListMetadataOK) SetData(val ListMetadataOKData) + func (s *ListMetadataOK) UnmarshalJSON(data []byte) error + func (s *ListMetadataOK) Validate() error + type ListMetadataOKData struct + Frames []FrameMetadata + Pagination PaginationResponse + func (s *ListMetadataOKData) Decode(d *jx.Decoder) error + func (s *ListMetadataOKData) Encode(e *jx.Encoder) + func (s *ListMetadataOKData) GetFrames() []FrameMetadata + func (s *ListMetadataOKData) GetPagination() PaginationResponse + func (s *ListMetadataOKData) MarshalJSON() ([]byte, error) + func (s *ListMetadataOKData) SetFrames(val []FrameMetadata) + func (s *ListMetadataOKData) SetPagination(val PaginationResponse) + func (s *ListMetadataOKData) UnmarshalJSON(data []byte) error + func (s *ListMetadataOKData) Validate() error + type ListMetadataRes interface + type ListMetadataSlotsOK struct + Data ListMetadataSlotsOKData + func (s *ListMetadataSlotsOK) Decode(d *jx.Decoder) error + func (s *ListMetadataSlotsOK) Encode(e *jx.Encoder) + func (s *ListMetadataSlotsOK) GetData() ListMetadataSlotsOKData + func (s *ListMetadataSlotsOK) MarshalJSON() ([]byte, error) + func (s *ListMetadataSlotsOK) SetData(val ListMetadataSlotsOKData) + func (s *ListMetadataSlotsOK) UnmarshalJSON(data []byte) error + func (s *ListMetadataSlotsOK) Validate() error + type ListMetadataSlotsOKData struct + Pagination PaginationResponse + Slots []Slot + func (s *ListMetadataSlotsOKData) Decode(d *jx.Decoder) error + func (s *ListMetadataSlotsOKData) Encode(e *jx.Encoder) + func (s *ListMetadataSlotsOKData) GetPagination() PaginationResponse + func (s *ListMetadataSlotsOKData) GetSlots() []Slot + func (s *ListMetadataSlotsOKData) MarshalJSON() ([]byte, error) + func (s *ListMetadataSlotsOKData) SetPagination(val PaginationResponse) + func (s *ListMetadataSlotsOKData) SetSlots(val []Slot) + func (s *ListMetadataSlotsOKData) UnmarshalJSON(data []byte) error + func (s *ListMetadataSlotsOKData) Validate() error + type ListMetadataSlotsOKHeaders struct + CacheControl OptString + Response ListMetadataSlotsOK + func (s *ListMetadataSlotsOKHeaders) GetCacheControl() OptString + func (s *ListMetadataSlotsOKHeaders) GetResponse() ListMetadataSlotsOK + func (s *ListMetadataSlotsOKHeaders) SetCacheControl(val OptString) + func (s *ListMetadataSlotsOKHeaders) SetResponse(val ListMetadataSlotsOK) + func (s *ListMetadataSlotsOKHeaders) Validate() error + type ListMetadataSlotsRes interface + type MetadataQuery struct + Filter OptFrameFilter + Pagination OptPaginationCursor + func (s *MetadataQuery) Decode(d *jx.Decoder) error + func (s *MetadataQuery) Encode(e *jx.Encoder) + func (s *MetadataQuery) GetFilter() OptFrameFilter + func (s *MetadataQuery) GetPagination() OptPaginationCursor + func (s *MetadataQuery) MarshalJSON() ([]byte, error) + func (s *MetadataQuery) SetFilter(val OptFrameFilter) + func (s *MetadataQuery) SetPagination(val OptPaginationCursor) + func (s *MetadataQuery) UnmarshalJSON(data []byte) error + func (s *MetadataQuery) Validate() error + type Middleware = middleware.Middleware + type OperationName = string + const GetEthereumNowOperation + const GetEthereumSpecOperation + const GetFrameOperation + const ListMetadataEpochsOperation + const ListMetadataLabelsOperation + const ListMetadataNodesOperation + const ListMetadataOperation + const ListMetadataSlotsOperation + type OptDateTime struct + Set bool + Value time.Time + func NewOptDateTime(v time.Time) OptDateTime + func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error + func (o *OptDateTime) Reset() + func (o *OptDateTime) SetTo(v time.Time) + func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time)) + func (o OptDateTime) Get() (v time.Time, ok bool) + func (o OptDateTime) IsSet() bool + func (o OptDateTime) Or(d time.Time) time.Time + func (s *OptDateTime) UnmarshalJSON(data []byte) error + func (s OptDateTime) MarshalJSON() ([]byte, error) + type OptEpoch struct + Set bool + Value Epoch + func NewOptEpoch(v Epoch) OptEpoch + func (o *OptEpoch) Decode(d *jx.Decoder) error + func (o *OptEpoch) Reset() + func (o *OptEpoch) SetTo(v Epoch) + func (o OptEpoch) Encode(e *jx.Encoder) + func (o OptEpoch) Get() (v Epoch, ok bool) + func (o OptEpoch) IsSet() bool + func (o OptEpoch) Or(d Epoch) Epoch + func (s *OptEpoch) UnmarshalJSON(data []byte) error + func (s OptEpoch) MarshalJSON() ([]byte, error) + type OptForkChoiceNodeExtraData struct + Set bool + Value ForkChoiceNodeExtraData + func NewOptForkChoiceNodeExtraData(v ForkChoiceNodeExtraData) OptForkChoiceNodeExtraData + func (o *OptForkChoiceNodeExtraData) Decode(d *jx.Decoder) error + func (o *OptForkChoiceNodeExtraData) Reset() + func (o *OptForkChoiceNodeExtraData) SetTo(v ForkChoiceNodeExtraData) + func (o OptForkChoiceNodeExtraData) Encode(e *jx.Encoder) + func (o OptForkChoiceNodeExtraData) Get() (v ForkChoiceNodeExtraData, ok bool) + func (o OptForkChoiceNodeExtraData) IsSet() bool + func (o OptForkChoiceNodeExtraData) Or(d ForkChoiceNodeExtraData) ForkChoiceNodeExtraData + func (s *OptForkChoiceNodeExtraData) UnmarshalJSON(data []byte) error + func (s OptForkChoiceNodeExtraData) MarshalJSON() ([]byte, error) + type OptFrameFilter struct + Set bool + Value FrameFilter + func NewOptFrameFilter(v FrameFilter) OptFrameFilter + func (o *OptFrameFilter) Decode(d *jx.Decoder) error + func (o *OptFrameFilter) Reset() + func (o *OptFrameFilter) SetTo(v FrameFilter) + func (o OptFrameFilter) Encode(e *jx.Encoder) + func (o OptFrameFilter) Get() (v FrameFilter, ok bool) + func (o OptFrameFilter) IsSet() bool + func (o OptFrameFilter) Or(d FrameFilter) FrameFilter + func (s *OptFrameFilter) UnmarshalJSON(data []byte) error + func (s OptFrameFilter) MarshalJSON() ([]byte, error) + type OptInt struct + Set bool + Value int + func NewOptInt(v int) OptInt + func (o *OptInt) Decode(d *jx.Decoder) error + func (o *OptInt) Reset() + func (o *OptInt) SetTo(v int) + func (o OptInt) Encode(e *jx.Encoder) + func (o OptInt) Get() (v int, ok bool) + func (o OptInt) IsSet() bool + func (o OptInt) Or(d int) int + func (s *OptInt) UnmarshalJSON(data []byte) error + func (s OptInt) MarshalJSON() ([]byte, error) + type OptPaginationCursor struct + Set bool + Value PaginationCursor + func NewOptPaginationCursor(v PaginationCursor) OptPaginationCursor + func (o *OptPaginationCursor) Decode(d *jx.Decoder) error + func (o *OptPaginationCursor) Reset() + func (o *OptPaginationCursor) SetTo(v PaginationCursor) + func (o OptPaginationCursor) Encode(e *jx.Encoder) + func (o OptPaginationCursor) Get() (v PaginationCursor, ok bool) + func (o OptPaginationCursor) IsSet() bool + func (o OptPaginationCursor) Or(d PaginationCursor) PaginationCursor + func (s *OptPaginationCursor) UnmarshalJSON(data []byte) error + func (s OptPaginationCursor) MarshalJSON() ([]byte, error) + type OptSlot struct + Set bool + Value Slot + func NewOptSlot(v Slot) OptSlot + func (o *OptSlot) Decode(d *jx.Decoder) error + func (o *OptSlot) Reset() + func (o *OptSlot) SetTo(v Slot) + func (o OptSlot) Encode(e *jx.Encoder) + func (o OptSlot) Get() (v Slot, ok bool) + func (o OptSlot) IsSet() bool + func (o OptSlot) Or(d Slot) Slot + func (s *OptSlot) UnmarshalJSON(data []byte) error + func (s OptSlot) MarshalJSON() ([]byte, error) + type OptString struct + Set bool + Value string + func NewOptString(v string) OptString + func (o *OptString) Decode(d *jx.Decoder) error + func (o *OptString) Reset() + func (o *OptString) SetTo(v string) + func (o OptString) Encode(e *jx.Encoder) + func (o OptString) Get() (v string, ok bool) + func (o OptString) IsSet() bool + func (o OptString) Or(d string) string + func (s *OptString) UnmarshalJSON(data []byte) error + func (s OptString) MarshalJSON() ([]byte, error) + type Option interface + func WithAttributes(attributes ...attribute.KeyValue) Option + func WithMeterProvider(provider metric.MeterProvider) Option + func WithTracerProvider(provider trace.TracerProvider) Option + type PaginationCursor struct + Limit OptInt + Offset OptInt + func (s *PaginationCursor) Decode(d *jx.Decoder) error + func (s *PaginationCursor) Encode(e *jx.Encoder) + func (s *PaginationCursor) GetLimit() OptInt + func (s *PaginationCursor) GetOffset() OptInt + func (s *PaginationCursor) MarshalJSON() ([]byte, error) + func (s *PaginationCursor) SetLimit(val OptInt) + func (s *PaginationCursor) SetOffset(val OptInt) + func (s *PaginationCursor) UnmarshalJSON(data []byte) error + type PaginationResponse struct + Total int64 + func (s *PaginationResponse) Decode(d *jx.Decoder) error + func (s *PaginationResponse) Encode(e *jx.Encoder) + func (s *PaginationResponse) GetTotal() int64 + func (s *PaginationResponse) MarshalJSON() ([]byte, error) + func (s *PaginationResponse) SetTotal(val int64) + func (s *PaginationResponse) UnmarshalJSON(data []byte) error + type Root string + func (s *Root) Decode(d *jx.Decoder) error + func (s *Root) UnmarshalJSON(data []byte) error + func (s Root) Encode(e *jx.Encoder) + func (s Root) MarshalJSON() ([]byte, error) + type Route struct + func (r Route) Args() []string + func (r Route) Name() string + func (r Route) OperationGroup() string + func (r Route) OperationID() string + func (r Route) PathPattern() string + func (r Route) Summary() string + type Server struct + func NewServer(h Handler, opts ...ServerOption) (*Server, error) + func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) + func (s *Server) FindRoute(method, path string) (Route, bool) + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + type ServerOption interface + func WithErrorHandler(h ErrorHandler) ServerOption + func WithMaxMultipartMemory(max int64) ServerOption + func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption + func WithMiddleware(m ...Middleware) ServerOption + func WithNotFound(notFound http.HandlerFunc) ServerOption + func WithPathPrefix(prefix string) ServerOption + type Slot int64 + func (s *Slot) Decode(d *jx.Decoder) error + func (s *Slot) UnmarshalJSON(data []byte) error + func (s Slot) Encode(e *jx.Encoder) + func (s Slot) MarshalJSON() ([]byte, error) + func (s Slot) Validate() error + type SlotString string + func (s *SlotString) Decode(d *jx.Decoder) error + func (s *SlotString) UnmarshalJSON(data []byte) error + func (s SlotString) Encode(e *jx.Encoder) + func (s SlotString) MarshalJSON() ([]byte, error) + type UnexpectedErrorStatusCode struct + Response Error + StatusCode int + func (s *UnexpectedErrorStatusCode) Error() string + func (s *UnexpectedErrorStatusCode) GetResponse() Error + func (s *UnexpectedErrorStatusCode) GetStatusCode() int + func (s *UnexpectedErrorStatusCode) SetResponse(val Error) + func (s *UnexpectedErrorStatusCode) SetStatusCode(val int) + type UnimplementedHandler struct + func (UnimplementedHandler) GetEthereumNow(ctx context.Context) (r GetEthereumNowRes, _ error) + func (UnimplementedHandler) GetEthereumSpec(ctx context.Context) (r GetEthereumSpecRes, _ error) + func (UnimplementedHandler) GetFrame(ctx context.Context, params GetFrameParams) (r GetFrameRes, _ error) + func (UnimplementedHandler) ListMetadata(ctx context.Context, req *MetadataQuery) (r ListMetadataRes, _ error) + func (UnimplementedHandler) ListMetadataEpochs(ctx context.Context, req *MetadataQuery) (r ListMetadataEpochsRes, _ error) + func (UnimplementedHandler) ListMetadataLabels(ctx context.Context, req *MetadataQuery) (r ListMetadataLabelsRes, _ error) + func (UnimplementedHandler) ListMetadataNodes(ctx context.Context, req *MetadataQuery) (r ListMetadataNodesRes, _ error) + func (UnimplementedHandler) ListMetadataSlots(ctx context.Context, req *MetadataQuery) (r ListMetadataSlotsRes, _ error) + func (UnimplementedHandler) NewError(ctx context.Context, err error) (r *UnexpectedErrorStatusCode)