header

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ApplicationJson stands for application/json.
	ApplicationJson = "application/json"
	// CacheControl is the header key for Cache-Control.
	CacheControl = "Cache-Control"
	// CacheControlNoCache is the value for Cache-Control: no-cache.
	CacheControlNoCache = "no-cache"
	// Connection is the header key for Connection.
	Connection = "Connection"
	// ConnectionKeepAlive is the value for Connection: keep-alive.
	ConnectionKeepAlive = "keep-alive"
	// ContentType is the header key for Content-Type.
	ContentType = "Content-Type"
	// ContentTypeJson is the content type for JSON.
	ContentTypeJson = "application/json; charset=utf-8"
	// ContentTypeEventStream is the content type for event stream.
	ContentTypeEventStream = "text/event-stream"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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