router

package
v0.0.0-...-ac6bbda Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

Router is a type definition for router

func NewRouter

func NewRouter(port int, c *controller.Controller) (*Router, error)

NewRouter returns a router

func (*Router) Run

func (r *Router) Run()

Run attaches a router to http server

Jump to

Keyboard shortcuts

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