Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContextLoggerKeyType ¶
type ContextLoggerKeyType string
const ContextLoggerKey ContextLoggerKeyType = "ContextLogger"
type RequestContext ¶
type RequestContext struct { RequestID string Logger log.Logger BucketName string ObjectName string BucketInfo *types.Bucket ObjectInfo *types.Object Lifecycle *lifecycle.Lifecycle Brand brand.Brand AuthType signature.AuthType IsBucketDomain bool IsObjectForbidOverwrite bool Body io.ReadCloser FormValues map[string]string VersionId string Mutex *redislock.Lock }
func GetRequestContext ¶
func GetRequestContext(r *http.Request) RequestContext
type RequestContextKeyType ¶
type RequestContextKeyType string
const RequestContextKey RequestContextKeyType = "RequestContext"
type RequestIdKeyType ¶
type RequestIdKeyType string
const RequestIdKey RequestIdKeyType = "RequestID"
Click to show internal directories.
Click to hide internal directories.