expr

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: BSD-3-Clause Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandGlobals

func ExpandGlobals(k string) any

func ExpandURL

func ExpandURL(u *url.URL) expander.Interface

Types

type HTTPMethod

type HTTPMethod string

HTTPMethod provides a representation of an HTTP method that supports terminal formatting

func (HTTPMethod) Color

func (m HTTPMethod) Color() string

func (HTTPMethod) Format

func (m HTTPMethod) Format(f fmt.State, verb rune)

func (HTTPMethod) String

func (m HTTPMethod) String() string

type HTTPStatus

type HTTPStatus int

HTTPStatus provides a representation of an HTTP status code that supports terminal formatting

func (HTTPStatus) Code

func (s HTTPStatus) Code() int

func (HTTPStatus) Color

func (s HTTPStatus) Color() string

func (HTTPStatus) Format

func (s HTTPStatus) Format(f fmt.State, verb rune)

func (HTTPStatus) Message

func (s HTTPStatus) Message() string

func (HTTPStatus) String

func (s HTTPStatus) String() string

Jump to

Keyboard shortcuts

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