navigation

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Navigation struct {
	Path           string
	CurrentPath    string
	LastPath       string
	Redirect       string
	User           userconfig.User
	Guest          bool
	GodMode        bool
	Sitemap        sitemap.Sitemap
	UIConfig       uiconfig.UIConfig
	Server         Server
	ResponseWriter http.ResponseWriter
}
func (nav *Navigation) GetNextPage() string
func (nav *Navigation) IsNext(page string) bool
func (nav *Navigation) NavigatePath(path string)
func (nav *Navigation) Parameter(name string) string

Parameter returns value from page parameter $Parametername=<value>

func (nav *Navigation) RedirectPath(path string, overwrite bool)

type Server

type Server struct {
	Host    string
	URLPath string
}

Jump to

Keyboard shortcuts

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