Directories ¶
Path | Synopsis |
---|---|
domains
|
|
api
Package api contains top-level domain API, not used by any other domain.
|
Package api contains top-level domain API, not used by any other domain. |
api/cmd/server
Package main is a script to start API server.
|
Package main is a script to start API server. |
api/commonhandlers
Package commonhandlers contains unscoped API handlers
|
Package commonhandlers contains unscoped API handlers |
api/errorhandler
Package errorhandler contains handler for handler-produced errors
|
Package errorhandler contains handler for handler-produced errors |
api/middlewares
Package middlewares provides middlewares to be used by server.
|
Package middlewares provides middlewares to be used by server. |
core
Package core contains internal and core functionality domain
|
Package core contains internal and core functionality domain |
core/config
Package config handles application configuration loading.
|
Package config handles application configuration loading. |
core/config/schema
Package schema contains shared configuration definitions.
|
Package schema contains shared configuration definitions. |
core/errbase
Package errbase contains internal error codes
|
Package errbase contains internal error codes |
core/logging
Package logging contains log-related helpers
|
Package logging contains log-related helpers |
core/logging/schema
Package schema contains DTOs for logging helpers
|
Package schema contains DTOs for logging helpers |
core/services
Package services provides general means of service management and initialization
|
Package services provides general means of service management and initialization |
core/services/schema
Package schema contains DTOs describing services and
|
Package schema contains DTOs describing services and |
core/testhelpers
Package testhelpers contains various test helper functions
|
Package testhelpers contains various test helper functions |
core/validation
Package validation contains custom structure validation implementation.
|
Package validation contains custom structure validation implementation. |
storage
Package storage contains functions and entities of storage domain.
|
Package storage contains functions and entities of storage domain. |
storage/cmd/migrate
Package main is a script to run migrations.
|
Package main is a script to run migrations. |
storage/schema
Package schema contains storage-related DTOs
|
Package schema contains storage-related DTOs |
users
Package users contains functions and entities of Users domain.
|
Package users contains functions and entities of Users domain. |
users/handlers
Package handlers contains API handlers for user-related endpoints.
|
Package handlers contains API handlers for user-related endpoints. |
users/service
Package service contains user service methods
|
Package service contains user service methods |
users/service/schema
Package schema contains service definition for Users service
|
Package schema contains service definition for Users service |
users/storage
Package storage contains db-related operations with users.
|
Package storage contains db-related operations with users. |
Click to show internal directories.
Click to hide internal directories.