server

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeHealth

func ServeHealth(w http.ResponseWriter, r *http.Request)

ServeHealth returns 200 when things are good

func ServeReady

func ServeReady(w http.ResponseWriter, r *http.Request)

ServeReady returns 200 when things are good

Types

type Server

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

func New

func New(rec *recorder.Recorder, listenAddr, certFile, keyFile string) *Server

func (*Server) Close

func (s *Server) Close() error

func (*Server) Listen

func (s *Server) Listen() error

Jump to

Keyboard shortcuts

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