config

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

View Source
const (
	MimeJSON     = "application/json"
	MimeHTML     = "text/html; charset=utf-8"
	EncodingGzip = "gzip"
)

Mime types.

View Source
const (
	PrefixCalling = "🧮"
)

Logging prefixes.

Variables

View Source
var (
	HeaderAuthorization      = http.CanonicalHeaderKey("authorization")
	HeaderContentType        = http.CanonicalHeaderKey("content-type")
	HeaderContentLength      = http.CanonicalHeaderKey("content-length")
	HeaderContentEncoding    = http.CanonicalHeaderKey("content-encoding")
	HeaderContentDisposition = http.CanonicalHeaderKey("content-disposition")
	HeaderAcceptEncoding     = http.CanonicalHeaderKey("accept-encoding")
	HeaderXForwardedProto    = http.CanonicalHeaderKey("x-forwarded-proto")
)

Headers (Canonicalized for Proper Casing).

View Source
var MsgAuthenticationSuccess = title("authentication successful")
View Source
var (
	PrefixBearer = http.CanonicalHeaderKey("bearer")
)

Authentication prefixes.

Functions

This section is empty.

Types

type Message

type Message = string

Jump to

Keyboard shortcuts

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