modulepackage
5.0.2+incompatible
Repository: https://github.com/meateam/api-gateway.git
Documentation: pkg.go.dev
# README
api-gateway
Perform a simple media upload
curl -X POST http://localhost:8080/api/upload?uploadType=media --data-binary "@/path/to/file" -H "Authorization: Bearer <jwt_token>" -H "Content-Type: <file_mime_type>" -H "Content-Disposition: filename=<file_name>"
Perform a simple multipart upload
curl -X POST http://localhost:8080/api/upload?uploadType=multipart -H "Authorization: Bearer <jwt_token>" -H "Content-Type: multipart/form-data" -F "file=@/path/to/file"
# Packages
No description provided by the author
No description provided by the author
Package file is used to handle all file-service and download-service related operations.
Package logger is used to create a logger middleware for gin using SetLogger and a given
configuration.
No description provided by the author
No description provided by the author
Package quota is used to handle all quota-service related operations.
Package search is used to handle all search-service related operations.
Package server is the api-gateway server, handling all its requests with a HTTP server.
Package classification Drive API.
Package upload is used to handle all upload-service related operations.
Package user is used to define the system's user structure with user.User and extracting
user's details in a request's context using ExtractRequestUser.
No description provided by the author