frontend

package
v0.0.0-...-e9d226e Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ID = "frontend"

Variables

View Source
var RegisteredLinks []Link

Functions

func AddLink(c *types.PluginConfig, link Link)

func InitPlugin

func InitPlugin(c *types.PluginConfig) error

Types

type Link struct {
	Title       string
	Description string
	LinkText    string
	Href        string
	Plugin      string
}
func GetRegisteredLinks(r *http.Request) ([]Link, error)

Gets the registered links on the site taking ACLS etc into account

Jump to

Keyboard shortcuts

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