Documentation ¶ Index ¶ type Service func NewService(bindAddress string, node *node.Node, logger *logrus.Logger) *Service func (s *Service) GetBlock(w http.ResponseWriter, r *http.Request) func (s *Service) GetStats(w http.ResponseWriter, r *http.Request) func (s *Service) Serve() 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, node *node.Node, logger *logrus.Logger) *Service func (*Service) GetBlock ¶ func (s *Service) GetBlock(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() Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.