package
5.0.2+incompatible
Repository: https://github.com/meateam/api-gateway.git
Documentation: pkg.go.dev
# Functions
NewRouter creates a new Router, and initializes clients of Upload Service and File Service with the given connections.
# Constants
ContentDispositionHeader content-disposition header name.
ContentLengthCustomHeader content length custom header name.
ContentRangeHeader content-range header name.
ContentTypeHeader content type header name.
DefaultContentLength the default content length of a file.
FileFormName the key of the file in a form.
FolderContentType is the custom content type of a folder.
MaxPartUploadSize 500MB max limit.
MaxSimpleUploadSize 5MB.
MediaUploadType media upload type name.
MimeTypeDOCX Docs mime types.
MimeTypeHeader file mime type.
MimeTypePPTX Docs mime types.
MimeTypeXLSX Docs mime types.
MinPartUploadSize 5MB min limit.
MultipartUploadType multipart upload type name.
ParamFileID id to update.
ParentQueryKey parent query string key name.
ResumableUploadType resumable upload type name.
UpdateFileRole is the role that is required of the authenticated requester to have to be permitted to make the UpdateFile action.
UploadIDCustomHeader upload id custom header name.
UploadIDQueryKey the upload id query string key name.
UploadRole is the role that is required of the authenticated requester to have to be permitted to make an upload action.
UploadTypeQueryKey the upload type query string key name.