Documentation ¶
Index ¶
Constants ¶
View Source
const ( FkDataBinaryContentType = "application/vnd.fk.data+binary" FkDataBase64ContentType = "application/vnd.fk.data+base64" MultiPartFormDataMediaType = "multipart/form-data" ContentTypeHeaderName = "Content-Type" ContentLengthHeaderName = "Content-Length" XForwardedForHeaderName = "X-Forwarded-For" FkDeviceIdHeaderName = "Fk-DeviceId" FkDeviceNameHeaderName = "Fk-DeviceName" FkGenerationHeaderName = "Fk-Generation" FkBlocksHeaderName = "Fk-Blocks" FkFlagsIdHeaderName = "Fk-Flags" FkTypeHeaderName = "Fk-Type" // Deprecated FkFileIdHeaderName = "Fk-FileId" FkVersionHeaderName = "Fk-Version" FkFileNameHeaderName = "Fk-FileName" FkFileVersionHeaderName = "Fk-FileVersion" FkBuildHeaderName = "Fk-Build" FkFileOffsetHeaderName = "Fk-FileOffset" FkCompiledHeaderName = "Fk-Compiled" FkUploadNameHeaderName = "Fk-UploadName" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthAttempt ¶
type AuthAttempt struct { Token string Scheme *security.JWTScheme Key []byte Forbidden GenerateError NotFound GenerateError }
type Authenticator ¶
type BucketAndKey ¶
func GetBucketAndKey ¶
func GetBucketAndKey(s3Url string) (*BucketAndKey, error)
type GenerateError ¶
type ServiceOptions ¶
type ServiceOptions struct { DB *sqlxcache.DB JWTHMACKey []byte Authenticate Authenticator Publisher jobs.MessagePublisher }
Click to show internal directories.
Click to hide internal directories.