handler

package
v0.0.0-...-007b07b Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DB        *ledger.DB
	FlashRead *ledger.FlashRead
	Serv      *Server
)

Functions

func AddRouter

func AddRouter(e *gin.Engine)

func GetBlocks

func GetBlocks(c *gin.Context)

func Run

func Run()

func Stop

func Stop()

Types

type Server

type Server struct {
	*http.Server
}

func (*Server) Initialize

func (s *Server) Initialize()

func (*Server) Start

func (s *Server) Start()

func (*Server) Stop

func (s *Server) Stop()

Stop stops service

Jump to

Keyboard shortcuts

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