headers

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Headers

type Headers struct {
	// contains filtered or unexported fields
}

func NewHeaders

func NewHeaders() Headers

func (Headers) Get

func (h Headers) Get(key string) (string, bool)

func (Headers) Length

func (h Headers) Length() int

func (Headers) Overwrite

func (h Headers) Overwrite(key, value string)

func (Headers) Parse

func (h Headers) Parse(data []byte) (n int, done bool, err error)

func (Headers) Range

func (h Headers) Range() <-chan [2]string

func (Headers) Remove

func (h Headers) Remove(key string)

func (Headers) Set

func (h Headers) Set(key, value string)

Jump to

Keyboard shortcuts

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