Directories ¶
Path | Synopsis |
---|---|
api
|
|
handlers
Package handlers controls network routing and rate limiter for each route
|
Package handlers controls network routing and rate limiter for each route |
httputil
Package httputil defines possible errors in HTTP request
|
Package httputil defines possible errors in HTTP request |
middleware
Package middleware defines possible middleware that can be used by router
|
Package middleware defines possible middleware that can be used by router |
Package docs defines swagger docs for API specification
|
Package docs defines swagger docs for API specification |
internal
|
|
models
Package models defines default model layer for each database structures This is also known as domain layer in Uncle Bob's Clean Architecture
|
Package models defines default model layer for each database structures This is also known as domain layer in Uncle Bob's Clean Architecture |
repository/postgres
Package defines CRUD comms between service layer with model layer in postgres
|
Package defines CRUD comms between service layer with model layer in postgres |
services
Package services defines connection between business layer and repository layer
|
Package services defines connection between business layer and repository layer |
Click to show internal directories.
Click to hide internal directories.