package
0.0.0-20241226083948-8269ab54aa91
Repository: https://github.com/yachnytskyi/golang-mongo-grpc.git
Documentation: pkg.go.dev

# Constants

Access token value.
Already logged in message.
Authorization header.
Authorization error message.
Format string for logging or displaying error messages with location and notification details.
Bearer token prefix.
Configuration library to use.
Content-Type header.
Database connection closed message.
Database connection failure message.
Database connection success message.
Format for human-readable dates.
Default amount of page links for pagination.
Default path for the application configuration file.
Notification message for using the default configuration path.
Default context timeout duration.
Default environment defines the default environment setting for the application.
Notification message for using the default environment path.
Default path for environment configuration files.
Default limit per page.
Default limit per page.
Default maximum optional string length.
Default maximum string length.
Default minimum optional string length.
Default minimum string length.
Default order by field.
Default page number.
Default page number.
Default sort order.
Default string regex pattern.
Default text string regex pattern.
Default title string regex pattern.
DELETE method for deleting resources.
Delete current user route path.
Email already exists message.
Email confirmation subject.
Email confirmation URL.
Email template not found message.
Base path for environment configuration files.
Failure message for unsuccessful operations.
False value.
Field optional status.
Field required status.
Forgotten password route path.
Forgotten password subject.
Forgotten password URL.
GET method for retrieving resources.
Endpoint for fetching all items.
Get current user route path.
Endpoint for fetching an item by its ID.
Gin delivery name.
GoMail email library.
Health domain route.
HTTP scheme.
HTTPS scheme.
ID context key.
ID context missing error message.
Internal error message.
Invalid content type message.
Invalid header format message.
Invalid HTTP method message.
Error message for invalid tokens.
Parameter name for item ID.
Item not found message.
Limit query parameter.
Logged in status value.
Format for machine-readable dates (ISO 8601).
Not logged in message.
Login route path.
Logout max age value.
Logout success message.
Logout route path.
Maximum items per page.
Method not allowed message.
MongoDB database name.
Order by query parameter.
Page query parameter.
Pagination error message.
Password reset success message.
PasswordResetTokenExpirationTime represents the duration after which a password reset token expires.
PATCH method for partially updating resources.
Post
POST method for creating resources.
Posts domain route.
Posts table name in the database.
PUT method for updating resources.
Refresh token route path.
Refresh token value.
Registration route path.
Request-ID header for tracking requests across systems.
Reset password route path with token.
Route not found message.
Email sent notification.
Email with instructions sent notification.
Server connection closed message.
Server connection success message.
Ascending sort order.
Descending sort order.
Sort order query parameter.
Allowed string character message.
Allowed string length message.
Optional string length message.
Success message for successful operations.
Time expired message.
True value.
Unsupported config type error message.
Unsupported controller type error message.
Unsupported delivery type error message.
Unsupported email type error message.
Unsupported logger type error message.
Unsupported repository type error message.
Unsupported use case type error message.
Update current user route path.
User context key.
User role context key.
Users domain route.
Users table name in the database.
Viper configuration library.
Zerolog logger library.