server

package
v0.0.0-...-b178995 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App interface {
	Register(*mux.Router, func(http.Handler) http.Handler)
}

type Server

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

func New

func New(conf *config.Config) (*Server, error)

func (*Server) Bootstrap

func (s *Server) Bootstrap() error

func (*Server) Serve

func (s *Server) Serve() error

func (*Server) Shutdown

func (s *Server) Shutdown()

Jump to

Keyboard shortcuts

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