restful

package
v0.0.0-...-63a9e4b Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XS_SERVER_BANNER = `` /* 202-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func NewDaemon

func NewDaemon() daemon.Daemon

NewDaemon creates an `daemon.Daemon` object

Types

type Handlers

type Handlers struct {
}

func (*Handlers) Init

func (h *Handlers) Init(e *echo.Echo, s *myService) (ready bool)

type TemplateRenderer

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

TemplateRenderer is a custom html/template renderer for Echo framework

func (*TemplateRenderer) Render

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

Render renders a template document

Jump to

Keyboard shortcuts

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