folders

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Label

type Label struct {
	ID     int64  `json:"id"`
	Name   string `json:"name"`
	AppURL string `json:"app_url,omitempty"`
}

Label identifies a user-visible HEY label discovered through navigation.

func FromNavigation

func FromNavigation(navigation *generated.NavigationResponse) []Label

FromNavigation returns each concrete label entry from HEY's Labels navigation group.

func List

func List(ctx context.Context, client *hey.Client) ([]Label, error)

List returns the labels carried by HEY's typed navigation payload.

Jump to

Keyboard shortcuts

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