server

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 StartSnapshotApiServer(engine types.Engine, port int64) *ApiServer

func (*ApiServer) GetBlockHandler

func (apiServer *ApiServer) GetBlockHandler(c *gin.Context)

func (*ApiServer) GetSeenCommitHandler

func (apiServer *ApiServer) GetSeenCommitHandler(c *gin.Context)

func (*ApiServer) GetStateHandler

func (apiServer *ApiServer) GetStateHandler(c *gin.Context)

func (*ApiServer) ListSnapshotsHandler

func (apiServer *ApiServer) ListSnapshotsHandler(c *gin.Context)

func (*ApiServer) LoadSnapshotChunkHandler

func (apiServer *ApiServer) LoadSnapshotChunkHandler(c *gin.Context)

Jump to

Keyboard shortcuts

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