server

package
v0.0.0-...-d124ba8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

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

Ping Healthcheck functionality for docker

func Run

func Run()

Run Start HTTP Server

Types

type Server

type Server struct {
	Logger *log.Entry
	Mux    *http.ServeMux
}

Server Holds all components needed for the main HTTP Server

func NewServer

func NewServer() *Server

NewServer Initialise new HTTP-Server

Jump to

Keyboard shortcuts

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