app

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 4 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 {
	// contains filtered or unexported fields
}

Server represents the overall application.

func Instance

func Instance() *Server

Instance creates a new Server with config and logger..

func (*Server) Config

func (app *Server) Config() *config.Config

Config provides access to the global configuration.

func (*Server) Logger

func (app *Server) Logger() *logger.Logger

Logger provides access to the global logger.

func (*Server) Router

func (app *Server) Router() *chi.Mux

Config provides access to the global configuration.

Jump to

Keyboard shortcuts

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