customheader

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: BSD-3-Clause Imports: 1 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