api

package
v0.0.0-...-420b085 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	// contains filtered or unexported fields
}

func New

func New(logger *zap.Logger, db *db.BoltDB) *Api

func (*Api) GetAllNodes

func (api *Api) GetAllNodes(c *gin.Context)

func (*Api) GetNodeByOperatorId

func (api *Api) GetNodeByOperatorId(c *gin.Context)

func (*Api) GetNodeByPubKey

func (api *Api) GetNodeByPubKey(c *gin.Context)

func (*Api) GetNodes

func (api *Api) GetNodes(c *gin.Context)

func (*Api) Start

func (api *Api) Start()

Jump to

Keyboard shortcuts

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