Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
api
Package main is the entry point to start the cerebrum server
|
Package main is the entry point to start the cerebrum server |
pkg
|
|
api
Package api contains all methodology for interacting with the persistence layer API Docs for CEREBRUM v1 Consumes: - application/json Produces: - application/json Security: - ApiKeyAuth: [] SecurityDefinitions: ApiKeyAuth: type: apiKey name: Authorization in: header
|
Package api contains all methodology for interacting with the persistence layer API Docs for CEREBRUM v1 Consumes: - application/json Produces: - application/json Security: - ApiKeyAuth: [] SecurityDefinitions: ApiKeyAuth: type: apiKey name: Authorization in: header |
api/auth
Package auth is a service for authenticating http requets
|
Package auth is a service for authenticating http requets |
api/auth/transport
Package transport contians HTTP service for authentication
|
Package transport contians HTTP service for authentication |
api/password
Package password contains the service that handles passwords
|
Package password contains the service that handles passwords |
api/store
Package store contains the components necessary for api services to interact with the database
|
Package store contains the components necessary for api services to interact with the database |
api/user
Package user contains the service for user interactions
|
Package user contains the service for user interactions |
api/user/transport
Package transport contains the HTTP service for user interactions
|
Package transport contains the HTTP service for user interactions |
utl/config
Package config is used for loading the environmental configurations
|
Package config is used for loading the environmental configurations |
utl/datastore
Package datastore creates an ORM connection to the databse and persistence layer
|
Package datastore creates an ORM connection to the databse and persistence layer |
utl/middleware/jsonwebtoken
Package jsonwebtoken contains logic for using JSON web tokens
|
Package jsonwebtoken contains logic for using JSON web tokens |
utl/middleware/secure
Package secure contains some of the security features of the application
|
Package secure contains some of the security features of the application |
utl/mock
Package mock contains logic to mock various components of the application
|
Package mock contains logic to mock various components of the application |
utl/mock/mockstore
Package mockstore is used for testing purposes to mock the store package and mock a mysql db through a docker container of mysql
|
Package mockstore is used for testing purposes to mock the store package and mock a mysql db through a docker container of mysql |
utl/models
Package models contains all the models for the application
|
Package models contains all the models for the application |
utl/query
Package query contains support functions for making db queries
|
Package query contains support functions for making db queries |
utl/rbac
Package rbac Role Based Access Control
|
Package rbac Role Based Access Control |
utl/secure
Package secure contains support for application security
|
Package secure contains support for application security |
utl/server
Package server contains support for the HTTP server used for the API
|
Package server contains support for the HTTP server used for the API |
utl/structs
Package structs is for working with structs
|
Package structs is for working with structs |
utl/support
Package support contains functions useful in various components of the application
|
Package support contains functions useful in various components of the application |
utl/zlog
Package zlog contains support for zlog
|
Package zlog contains support for zlog |
scripts
|
|
bootstrap
Package main is used to bootstrap a DB for work in a development environment
|
Package main is used to bootstrap a DB for work in a development environment |
testing
Package main is used to bootstrap a DB for work in a development environment
|
Package main is used to bootstrap a DB for work in a development environment |
Click to show internal directories.
Click to hide internal directories.