servers

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevServer

type DevServer struct {
	Router routes.Router
}

DevServer is a wrapper on basic http server

func (*DevServer) Prepare added in v0.5.0

func (ds *DevServer) Prepare() *mux.Router

DevServer method that will serve static folder and prepare router

func (*DevServer) Run

func (ds *DevServer) Run()

Run will start server on port defined in framework/config.go file

Jump to

Keyboard shortcuts

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