Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DigestType ¶
type DigestType uint8
DigestType represents an algorithm for the HTTP "Digest" header.
const ( // DigestMD5 represents the MD5 algorithm. // It is an obsolete/broken cryptographic hash. DigestMD5 DigestType = iota // DigestSHA1 represents the SHA-1 algorithm. // It is an obsolete/broken cryptographic hash. DigestSHA1 // DigestSHA256 represents the SHA-2 algorithm in 256-bit mode. // It is a cryptographic hash. DigestSHA256 )
func (DigestType) GoString ¶
func (t DigestType) GoString() string
GoString returns the Go constant name.
func (DigestType) String ¶
func (t DigestType) String() string
String returns the HTTP "Digest" algorithm name.
type FrontendType ¶
type FrontendType uint8
FrontendType represents a front-end implementation.
const ( UndefinedFrontendType FrontendType = iota FileSystemFrontendType HTTPBackendFrontendType GRPCBackendFrontendType )
UndefinedFrontendType et al are the legal values for FrontendType.
func (FrontendType) GoString ¶
func (t FrontendType) GoString() string
GoString returns the Go constant name.
func (FrontendType) MarshalJSON ¶
func (t FrontendType) MarshalJSON() ([]byte, error)
MarshalJSON fulfills json.Marshaler.
func (FrontendType) String ¶
func (t FrontendType) String() string
String returns the string representation.
func (*FrontendType) UnmarshalJSON ¶
func (t *FrontendType) UnmarshalJSON(raw []byte) error
UnmarshalJSON fulfills json.Unmarshaler.
type MutationType ¶
type MutationType uint8
MutationType represents a request/response mutation.
const ( UndefinedMutationType MutationType = iota RequestHostMutationType RequestPathMutationType RequestQueryMutationType RequestHeaderMutationType ResponseHeaderPreMutationType ResponseHeaderPostMutationType )
UndefinedMutationType et al are the legal values for MutationType.
func (MutationType) GoString ¶
func (t MutationType) GoString() string
GoString returns the Go constant name.
func (MutationType) MarshalJSON ¶
func (t MutationType) MarshalJSON() ([]byte, error)
MarshalJSON fulfills json.Marshaler.
func (MutationType) String ¶
func (t MutationType) String() string
String returns the string representation.
func (*MutationType) UnmarshalJSON ¶
func (t *MutationType) UnmarshalJSON(raw []byte) error
UnmarshalJSON fulfills json.Unmarshaler.