frostfs-s3-gw/api/reqinfo.go

16 lines
261 B
Go
Raw Normal View History

package api
type (
// ObjectRequest represents object request data.
ObjectRequest struct {
Bucket string
Object string
Method string
}
)
2021-05-13 19:25:32 +00:00
// Key used for Get/SetReqInfo.
type contextKeyType string
const ctxRequestInfo = contextKeyType("NeoFS-S3-GW")