server

package
v0.0.0-...-4635459 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: MIT Imports: 16 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 *configuration.Configuration
	Router *httprouter.Router
	Db     *sql.DB
	// contains filtered or unexported fields
}

func (*Server) Run

func (s *Server) Run() error

The Run method will initialize everything and start the server automatically. Before calling this method on a Server, you must first set the Config, Router, and Db dependencies.

Jump to

Keyboard shortcuts

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