handler

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIHandler

type APIHandler struct {
	Auth       auth.Handler
	Cache      cache.Handler
	Categories categories.Handler
	Fields     fields.Handler
	Forms      forms.Handler
	Media      media.Handler
	Options    options.Handler
	Posts      posts.Handler
	Redirects  redirects.Handler
	Roles      roles.Handler
	Site       site.Handler
	System     system.Handler
	Themes     themes.Handler
	Users      users.Handler
}

APIHandler defines all handler functions for API routes.

func NewAPI

func NewAPI(d *deps.Deps) *APIHandler

NewAPI

Returns a new API handler.

type FrontendHandler

type FrontendHandler struct {
	Public public.Handler
	SEO    seo.Handler
}

FrontendHandler defines all handler functions for frontend routes.

func NewFrontend

func NewFrontend(d *deps.Deps) *FrontendHandler

NewFrontend

Returns a new frontend handler.

type SPAHandler

type SPAHandler struct {
	spa.Handler
}

SPAHandler defines all handler functions for SPA routes.

func NewSPA

func NewSPA(d *deps.Deps) *SPAHandler

NewSPA

Returns a new SPA handler.

Directories

Path Synopsis
api
frontend
seo

Jump to

Keyboard shortcuts

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