Documentation
¶
Index ¶
- type ApiServer
- func (apiServer *ApiServer) GetBlockHandler(c *gin.Context)
- func (apiServer *ApiServer) GetSeenCommitHandler(c *gin.Context)
- func (apiServer *ApiServer) GetStateHandler(c *gin.Context)
- func (apiServer *ApiServer) ListSnapshotsHandler(c *gin.Context)
- func (apiServer *ApiServer) LoadSnapshotChunkHandler(c *gin.Context)
- type MetricsServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiServer ¶
type ApiServer struct {
// contains filtered or unexported fields
}
func StartSnapshotApiServer ¶
func (*ApiServer) GetBlockHandler ¶
func (*ApiServer) GetSeenCommitHandler ¶
func (*ApiServer) GetStateHandler ¶
func (*ApiServer) ListSnapshotsHandler ¶
func (*ApiServer) LoadSnapshotChunkHandler ¶
type MetricsServer ¶
type MetricsServer struct {
// contains filtered or unexported fields
}
func StartMetricsApiServer ¶
func StartMetricsApiServer(blockStore *store.BlockStore, port int64) *MetricsServer
func (*MetricsServer) MetricsHandler ¶
func (metricsServer *MetricsServer) MetricsHandler(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.