route

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminPost

type AdminPost struct {
	*Core
}

AdminPost -

type AuthUtil

type AuthUtil struct {
	*Core
}

AuthUtil -

type Core

type Core struct {
	Router  *router.Mux
	Storage *datastorage.Storage
	Render  *htmltemplate.Engine
	Sess    *websession.Session
}

Core -

func Register

func Register(storage *datastorage.Storage, sess *websession.Session, tmpl *htmltemplate.Engine) (*Core, error)

Register all routes.

type HomePost

type HomePost struct {
	*Core
}

HomePost -

type Post

type Post struct {
	*Core
}

Post -

type Styles

type Styles struct {
	*Core
}

Styles -

type XMLUtil

type XMLUtil struct {
	*Core
}

XMLUtil -

func (*XMLUtil) Robots

func (c *XMLUtil) Robots(w http.ResponseWriter, r *http.Request) (status int, err error)

Robots returns a page for web crawlers.

Jump to

Keyboard shortcuts

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