Documentation ¶
Overview ¶
Package main is the executable that runs the api-gateway server with its configuration. See Package server doc.go for configuring the server using environment variables.
Directories ¶
Path | Synopsis |
---|---|
Package file is used to handle all file-service and download-service related operations.
|
Package file is used to handle all file-service and download-service related operations. |
internal
|
|
Package logger is used to create a logger middleware for gin using SetLogger and a given configuration.
|
Package logger is used to create a logger middleware for gin using SetLogger and a given configuration. |
Package quota is used to handle all quota-service related operations.
|
Package quota is used to handle all quota-service related operations. |
Package search is used to handle all search-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 server is the api-gateway server, handling all its requests with a HTTP server. |
auth
Package auth is used to handle authorization using a gin.HandlerFunc defined by Middleware.
|
Package auth is used to handle authorization using a gin.HandlerFunc defined by Middleware. |
** * __ _ _ * / _| (_) | | * | |_ _ | | ___ ___ * | _| | | | | / _ \ / __| * | | | | | | | __/ \__ \ * |_| |_| |_| \___| |___/ * * Package classification Drive API.
|
** * __ _ _ * / _| (_) | | * | |_ _ | | ___ ___ * | _| | | | | / _ \ / __| * | | | | | | | __/ \__ \ * |_| |_| |_| \___| |___/ * * Package classification Drive API. |
Package upload is used to handle all upload-service related operations.
|
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.
|
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. |
Click to show internal directories.
Click to hide internal directories.