urlattrs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateGoFile

func GenerateGoFile() ([]byte, error)

func GenerateJSFile

func GenerateJSFile() ([]byte, error)

Types

type Artifact

type Artifact struct {
	RelPath string
	Content []byte
}

func GeneratedArtifacts

func GeneratedArtifacts() ([]Artifact, error)

type Entry

type Entry struct {
	Name string
	Kind Kind
}

func Spec

func Spec() []Entry

type Kind

type Kind string
const (
	KindHref         Kind = "href"
	KindResource     Kind = "resource"
	KindAction       Kind = "action"
	KindResourceList Kind = "resource_list"
	KindSrcset       Kind = "srcset"
	KindFragment     Kind = "fragment"
	KindSrcdoc       Kind = "srcdoc"
	KindBlocked      Kind = "blocked"
)

Jump to

Keyboard shortcuts

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