restapi

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetRouters

func SetRouters(e *echo.Echo, h *handler.Handler)

SetRouters is a function to ser Echo Routers

func StartRestAPIServer

func StartRestAPIServer() error

StartRestAPIServer is a function to StartRestAPIServer

Types

type Template

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

Template html Template

func (*Template) Render

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

Render html template

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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