client

package
v0.0.0-...-676a5ae Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Container

func Container(children ...g.Node) g.Node

func LookupEnvOrString

func LookupEnvOrString(key string, defaultVal string) string

LookupEnvOrString gets a value from the environment or returns the specified default value

func Navbar(currentPath string, links []PageLink) g.Node
func NavbarLink(path, text string, active bool) g.Node

NavbarLink is a link in the Navbar.

func Page

func Page(title, path string, body g.Node) g.Node
func PageFooter() g.Node

func Prose

func Prose(children ...g.Node) g.Node

func Setup

func Setup()

Types

type PageLink struct {
	Path string
	Name string
}

Jump to

Keyboard shortcuts

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