github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/session/xheaders.go (about)

     1  package session
     2  
     3  // ReservedXHeaderPrefix is a prefix of keys to "well-known" X-headers.
     4  const ReservedXHeaderPrefix = "__NEOFS__"
     5  
     6  const (
     7  	// XHeaderNetmapEpoch is a key to the reserved X-header that specifies netmap epoch
     8  	// to use for object placement calculation. If set to '0' or not set, the current
     9  	// epoch only will be used.
    10  	XHeaderNetmapEpoch = ReservedXHeaderPrefix + "NETMAP_EPOCH"
    11  
    12  	// XHeaderNetmapLookupDepth is a key to the reserved X-header that limits
    13  	// how many past epochs back the node will can lookup. If set to '0' or not
    14  	// set, the current epoch only will be used.
    15  	XHeaderNetmapLookupDepth = ReservedXHeaderPrefix + "NETMAP_LOOKUP_DEPTH"
    16  )