web

package
v0.0.0-...-844ec91 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*config.Builder
}

Server holds the information needed to run the HC Server

func (*Server) HealthHandler

func (s *Server) HealthHandler() http.Handler

HealthHandler defines the http handler for the self health data

func (*Server) InitFromBuilder

func (s *Server) InitFromBuilder(builder *config.Builder) *Server

InitFromBuilder builds a Server instance

func (*Server) Run

func (s *Server) Run() error

Run initializes the web server and its apis

Jump to

Keyboard shortcuts

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