render

package
v1.2.1-beta Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Render

type Render struct {
	*httprouter.Router

	ProfessionName string
	// contains filtered or unexported fields
}

func NewRender

func NewRender() *Render

func (*Render) Lookup

func (p *Render) Lookup(r *http.Request) (view string, data interface{}, has bool)

func (*Render) ServeHTTP

func (p *Render) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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