server

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2019 License: MIT Imports: 10 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 {
	*env.Env
}

Server struct contains the environment and additional methods for running our HTTP server

func NewServer

func NewServer(name env.Name, lvl zerolog.Level) (*Server, error)

NewServer is a constructor for the Server struct Sets up the struct and registers routes

Jump to

Keyboard shortcuts

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