web

package
v1.0.0-beta.0.rc Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package web is the service to serve the Prysm web UI. See https://github.com/prysmaticlabs/prysm-web-ui

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server for the Prysm Web UI.

func NewServer

func NewServer(addr string) *Server

NewServer creates a server service for the Prysm web UI.

func (*Server) Start

func (s *Server) Start()

Start the web server.

func (*Server) Status

func (s *Server) Status() error

Status check for web server. Always returns nil.

func (*Server) Stop

func (s *Server) Stop() error

Stop the web server gracefully with 1s timeout.

Jump to

Keyboard shortcuts

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