apitypes

package
v0.17.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckpointFinalizedBlockResponse added in v0.9.0

type CheckpointFinalizedBlockResponse struct {
	Data struct {
		Message struct {
			Slot string `json:"slot"`
		} `json:"message"`
	} `json:"data"`
}

type CheckpointFinalizedBlockRootResponse added in v0.9.0

type CheckpointFinalizedBlockRootResponse struct {
	Data struct {
		Root string `json:"root"`
	} `json:"data"`
}

type ExplorerFinalizedSlotsResponse added in v0.9.0

type ExplorerFinalizedSlotsResponse struct {
	Data []struct {
		Epoch     int    `json:"epoch"`
		BlockRoot string `json:"blockroot"`
	} `json:"data"`
}

type GithubApiCommitResponse

type GithubApiCommitResponse struct {
	Object struct {
		Sha string `json:"sha"`
	} `json:"object"`
}

type GithubApiReleaseResponse

type GithubApiReleaseResponse struct {
	TagName string `json:"tag_name"`
}

type JsonRpcRequest added in v0.12.0

type JsonRpcRequest struct {
	JsonRPC string
	ID      int
	Method  string
	Params  []string
}

type PeersBeaconAPIResponse added in v0.12.0

type PeersBeaconAPIResponse struct {
	Data []struct {
		State     string `json:"state"`
		Direction string `json:"direction"`
	} `json:"data"`
}

type PeersJsonRpcResponse added in v0.12.0

type PeersJsonRpcResponse struct {
	Result []struct {
		Network struct {
			Inbound bool `json:"inbound"`
		} `json:"network"`
	} `json:"result"`
	Error interface{} `json:"error,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL