linktree

package
v0.0.0-...-49b1761 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Component

func Component(ctx context.Context, lines []Line, r *http.Request) Node

Types

type Element

type Element struct {
	Name    string
	Pattern string // overrides name
	Render  RenderFunc
	Entries []Element
	Hidden  bool
}

func (*Element) FindByName

func (el *Element) FindByName(name string) *Element

func (*Element) Lines

func (el *Element) Lines() (lines []Line)

type Line

type Line struct {
	Element *Element
	Pattern string
	Tree    string
}

type RenderFunc

type RenderFunc func(context.Context) gomponents.Group

Source Files

  • component.go
  • linktree.go

Jump to

Keyboard shortcuts

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