Documentation ¶
Index ¶
- func CanIncrement(ip string, action string, object string, expiration time.Duration) bool
- func GetAllKeys() []string
- func GetAndClearMultipartCompletedParts(key string) map[string]string
- func GetMultipartUploadID(key string) string
- func GetNonce(nonce string) (string, error)
- func GetVersionUploadState(versionID string) (*generated.CreateVersionResponse, error)
- func InitializeRedis(ctx context.Context)
- func StoreMultipartCompletedPart(key string, etag string, part int)
- func StoreMultipartUploadID(key string, id string)
- func StoreNonce(nonce string, redirectURI string)
- func StoreVersionUploadState(versionID string, data *generated.CreateVersionResponse, err error) error
- type StoredVersionUploadState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanIncrement ¶
func GetAllKeys ¶
func GetAllKeys() []string
func GetMultipartUploadID ¶
func GetVersionUploadState ¶
func GetVersionUploadState(versionID string) (*generated.CreateVersionResponse, error)
func InitializeRedis ¶
func StoreMultipartUploadID ¶
func StoreNonce ¶
func StoreVersionUploadState ¶
func StoreVersionUploadState(versionID string, data *generated.CreateVersionResponse, err error) error
Types ¶
type StoredVersionUploadState ¶
type StoredVersionUploadState struct { Data *generated.CreateVersionResponse `json:"data"` Err string `json:"err"` }
Click to show internal directories.
Click to hide internal directories.