Documentation
¶
Index ¶
- Constants
- func BackwardTransformIfSystem(key string) string
- func GetContainerID(ctx context.Context, containerID string, resolver *resolver.ContainerResolver) (*cid.ID, error)
- func PrepareExpirationHeader(ctx context.Context, p *pool.Pool, headers map[string]string, now time.Time) error
- func TransformIfSystem(key []byte) []byte
- type AppParams
- type EpochDurations
Constants ¶
View Source
const (
UserAttributeHeaderPrefix = "X-Attribute-"
)
Variables ¶
This section is empty.
Functions ¶
func GetContainerID ¶
func GetContainerID(ctx context.Context, containerID string, resolver *resolver.ContainerResolver) (*cid.ID, error)
GetContainerID decode container id, if it's not a valid container id then trey to resolve name using provided resolver.
func PrepareExpirationHeader ¶
func TransformIfSystem ¶
Types ¶
type EpochDurations ¶
func GetEpochDurations ¶
Click to show internal directories.
Click to hide internal directories.