Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
known
Package known defines common constants used across the application, including HTTP/gRPC headers and other shared values.
|
Package known defines common constants used across the application, including HTTP/gRPC headers and other shared values. |
|
middleware
Package middleware provides HTTP middleware functions for various web frameworks including Gin and gRPC, offering common functionality like CORS handling, request ID management, and other cross-cutting concerns.
|
Package middleware provides HTTP middleware functions for various web frameworks including Gin and gRPC, offering common functionality like CORS handling, request ID management, and other cross-cutting concerns. |
|
middleware/gin
Package gin provides middleware functions for the Gin HTTP web framework, including CORS handling and request ID management.
|
Package gin provides middleware functions for the Gin HTTP web framework, including CORS handling and request ID management. |
|
pkg
|
|
|
authn
Package authn provides authentication utilities including password encryption and comparison using bcrypt hashing algorithm.
|
Package authn provides authentication utilities including password encryption and comparison using bcrypt hashing algorithm. |
|
authz
Package authz provides authorization functionality using Casbin for access control with RBAC (Role-Based Access Control) model and GORM database integration.
|
Package authz provides authorization functionality using Casbin for access control with RBAC (Role-Based Access Control) model and GORM database integration. |
|
contextx
Package contextx provides utilities for managing context values including user information, access tokens, and request IDs across the application.
|
Package contextx provides utilities for managing context values including user information, access tokens, and request IDs across the application. |
|
core
Package core provides utility functions for data copying and type conversion, particularly for handling time.Time to string conversions and vice versa.
|
Package core provides utility functions for data copying and type conversion, particularly for handling time.Time to string conversions and vice versa. |
|
errorsx
Package errorsx provides a structured error handling system with HTTP status codes, gRPC integration, and metadata support for enhanced error tracking and debugging.
|
Package errorsx provides a structured error handling system with HTTP status codes, gRPC integration, and metadata support for enhanced error tracking and debugging. |
Click to show internal directories.
Click to hide internal directories.