web

package
v0.0.0-...-9992a52 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2018 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(port int)

Start runs the web interface.

Types

type JSONResponse

type JSONResponse struct {
	Status int    `json:"status"`
	Msg    string `json:"msg"`
}

JSONResponse is used to create a json response.

type Template

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

Template ...

func (*Template) Render

func (t *Template) Render(w io.Writer, name string, data interface{}, c echo.Context) error

Render ...

Jump to

Keyboard shortcuts

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