professions

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 ListHeader

type ListHeader struct {
	Title  map[apinto_dashboard.ZoneName][]string
	Fields []string
}

type Profession

type Profession struct {
	*apinto_dashboard.ModuleViewFinder
	*httprouter.Router
	ModuleName     string
	ProfessionName string
	// contains filtered or unexported fields
}

func NewProfession

func NewProfession(name string, profession string, titles map[apinto_dashboard.ZoneName][]string, fields []string, viewFinder *apinto_dashboard.ModuleViewFinder) *Profession

func (*Profession) Lookup

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

func (*Profession) ServeHTTP

func (p *Profession) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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