navigation

package
v0.0.0-...-4479cc4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	Identifier int64
	Title      string
	Priority   int64
}

func NewGroup

func NewGroup(title string, priority int64) *Group
type Link struct {
	Title      string
	Priority   int64
	Identifier string
}
func NewLink(title string, priority int64) *Link

type Module

type Module struct {
	// contains filtered or unexported fields
}

func New

func New() *Module

func (*Module) HttpHandler

func (m *Module) HttpHandler() (http.Handler, error)

func (*Module) HttpPrefix

func (m *Module) HttpPrefix() string

func (*Module) Init

func (*Module) Name

func (m *Module) Name() string
type NavigatableModule interface {
	Links() []*Link
	GroupLinks() map[*Group][]*Link
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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