header

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 4 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 interface {
	Add(key, value string)
	Set(key, value string)
	Get(key string) string
	Del(key string)

	Header() map[string]string
	Register(router ...ginsdk.HandlerFunc) []ginsdk.HandlerFunc
	Handler(c *ginsdk.Context)

	Clone() Headers
}

func NewHeaders

func NewHeaders() Headers

type HeadersConfig

type HeadersConfig map[string]string

func (HeadersConfig) New

func (h HeadersConfig) New() Headers

func (HeadersConfig) Validate

func (h HeadersConfig) Validate() liberr.Error

Jump to

Keyboard shortcuts

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