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()

Source Files