Documentation ¶
Overview ¶
Package context manipulates context metadata
Index ¶
- func AppendCellsMetaFromContext(ctx context.Context, req *http.Request)
- func ContextMetadata(ctx context.Context) (map[string]string, bool)
- func MinioMetaFromContext(ctx context.Context) (md map[string]string, ok bool)
- func WithMetadata(ctx context.Context, md map[string]string) context.Context
- func WithUserNameMetadata(ctx context.Context, userName string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MinioMetaFromContext ¶
MinioMetaFromContext prepares metadata for minio client, merging context medata and eventually the Context User Key value (X-Pydio-User). Used to prepare metadata sent by Minio Clients
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.