pastebin

package module
v0.0.0-...-f768453 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IgnoreFiles = [...]string{"workbox-config.js"}

Functions

func Main

func Main()

func Serve

func Serve() (err error)

func Static

func Static(c echo.Context) error

func StaticRender

func StaticRender(next echo.HandlerFunc) echo.HandlerFunc

Types

type DebugRender

type DebugRender struct{}

func (*DebugRender) Render

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

type TemplateRender

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

func (*TemplateRender) Render

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

type WarpPaste

type WarpPaste struct {
	echo.Context
	// contains filtered or unexported fields
}

func (*WarpPaste) Param

func (c *WarpPaste) Param(name string) string

type WarpRenderer

type WarpRenderer struct {
	echo.Context
}

func (*WarpRenderer) Render

func (w *WarpRenderer) Render(code int, name string, data interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳