api

package
v0.0.0-...-742107e Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Message

func Message(w http.ResponseWriter, s object.Status)

Types

type Handler

type Handler interface {
	Register(ctx context.Context, router *http.ServeMux, session Middleware)
}

type ParseExecute

type ParseExecute struct {
	PathTmpl   []string
	DefineTmpl string
	Data       map[string]interface{}
	// contains filtered or unexported fields
}

func NewParseExecute

func NewParseExecute(define string) *ParseExecute

func (*ParseExecute) Execute

func (pe *ParseExecute) Execute(w http.ResponseWriter, code int)

func (*ParseExecute) Parse

func (pe *ParseExecute) Parse() (*ParseExecute, object.Status)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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