customheader

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package customheader contains all the funcionality to deal with Custom Global Headers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomHeaders

type CustomHeaders []string

CustomHeaders valid for all requests

func (*CustomHeaders) Has

func (c *CustomHeaders) Has(header string) bool

Has checks if the list contains a header name

func (*CustomHeaders) Set

func (c *CustomHeaders) Set(value string) error

Set a new global header

func (*CustomHeaders) String

func (c *CustomHeaders) String() string

String returns just a label

Jump to

Keyboard shortcuts

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