service

package
v0.0.0-...-437c9e2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(bindAddress string, n *node.Node, logger *logrus.Logger) *Service

func (*Service) GetBlock

func (s *Service) GetBlock(w http.ResponseWriter, r *http.Request)

func (*Service) GetGenesisPeers

func (s *Service) GetGenesisPeers(w http.ResponseWriter, r *http.Request)

func (*Service) GetGraph

func (s *Service) GetGraph(w http.ResponseWriter, r *http.Request)

func (*Service) GetPeers

func (s *Service) GetPeers(w http.ResponseWriter, r *http.Request)

func (*Service) GetStats

func (s *Service) GetStats(w http.ResponseWriter, r *http.Request)

func (*Service) Serve

func (s *Service) Serve()

Jump to

Keyboard shortcuts

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