Back to godoc.org

Package server

v0.4.4
Latest Go to latest

The highest tagged major version is .

Published: May 22, 2020 | License: MIT | Module: github.com/mdouchement/standardfile

Index

func EchoEngine

func EchoEngine(ctrl IOC) *echo.Echo

EchoEngine instantiates the wep server.

func PrintRoutes

func PrintRoutes(e *echo.Echo)

PrintRoutes prints the Echo engin exposed routes.

type IOC

type IOC struct {
	Version        string
	Database       database.Client
	NoRegistration bool
	// JWT params
	SigningKey []byte
}

An IOC is an Iversion Of Control pattern used to init the server package.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier