2023-12-27 14:18:15 +00:00
|
|
|
package object
|
|
|
|
|
|
|
|
import "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/acl"
|
|
|
|
|
|
|
|
type RequestContextKeyT struct{}
|
|
|
|
|
|
|
|
var RequestContextKey = RequestContextKeyT{}
|
|
|
|
|
|
|
|
// RequestContext is a context passed between middleware handlers.
|
|
|
|
type RequestContext struct {
|
|
|
|
Namespace string
|
|
|
|
|
|
|
|
SenderKey []byte
|
|
|
|
|
|
|
|
Role acl.Role
|
2024-02-14 11:14:07 +00:00
|
|
|
|
|
|
|
SoftAPECheck bool
|
2023-12-27 14:18:15 +00:00
|
|
|
}
|