expr

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 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() expander.Interface

func ExpandURL

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

ExpandURL provides an expander for url.URL

func ExpandURLValues added in v0.10.0

func ExpandURLValues(v url.Values) expander.Interface

ExpandURLValues provides an expander for url.Values

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