Directories ¶
Path | Synopsis |
---|---|
Package config is an adapter which accepts yaml formatted config files from its users and allows the caweb to instantiate different components, from the adapter or use cases layers, using those loaded configuration settings.
|
Package config is an adapter which accepts yaml formatted config files from its users and allows the caweb to instantiate different components, from the adapter or use cases layers, using those loaded configuration settings. |
cfg1
Package cfg1 makes it possible to load configuration settings with version 1.x.y since all minor and patch versions (which are known) with the same major version, can be loaded with one implementation.
|
Package cfg1 makes it possible to load configuration settings with version 1.x.y since all minor and patch versions (which are known) with the same major version, can be loaded with one implementation. |
cfg2
Package cfg2 makes it possible to load configuration settings with version 2.x.y since all minor and patch versions (which are known) with the same major version, can be loaded with one implementation.
|
Package cfg2 makes it possible to load configuration settings with version 2.x.y since all minor and patch versions (which are known) with the same major version, can be loaded with one implementation. |
down/dnmig1
Package dnmig1 provides configuration file settings downwards Migrator for settings major version 1 and its Adapter type for the version-independent repo.DownMigrator[migrationuc.Settings] interface.
|
Package dnmig1 provides configuration file settings downwards Migrator for settings major version 1 and its Adapter type for the version-independent repo.DownMigrator[migrationuc.Settings] interface. |
down/dnmig2
Package dnmig2 provides configuration file settings downwards Migrator for settings major version 2 and its Adapter type for the version-independent repo.DownMigrator[migrationuc.Settings] interface.
|
Package dnmig2 provides configuration file settings downwards Migrator for settings major version 2 and its Adapter type for the version-independent repo.DownMigrator[migrationuc.Settings] interface. |
settings
Package settings provides generic interfaces which should be implemented by each configuration settings major version type, and their upwards and downwards migrator types.
|
Package settings provides generic interfaces which should be implemented by each configuration settings major version type, and their upwards and downwards migrator types. |
up/upmig1
Package upmig1 provides configuration file settings upwards Migrator for settings major version 1 and its Adapter type for the version independent repo.UpMigrator[migrationuc.Settings] interface.
|
Package upmig1 provides configuration file settings upwards Migrator for settings major version 1 and its Adapter type for the version independent repo.UpMigrator[migrationuc.Settings] interface. |
up/upmig2
Package upmig2 provides configuration file settings upwards Migrator for settings major version 2 and its Adapter type for the version independent repo.UpMigrator[migrationuc.Settings] interface.
|
Package upmig2 provides configuration file settings upwards Migrator for settings major version 2 and its Adapter type for the version independent repo.UpMigrator[migrationuc.Settings] interface. |
vers
Package vers contains the common versions parsing which is required by all config versions.
|
Package vers contains the common versions parsing which is required by all config versions. |
db
|
|
postgres
Package postgres provides an adapter for a PostgreSQL database in order to expose the interfaces which are required in the github.com/momeni/clean-arch/pkg/core/repo package.
|
Package postgres provides an adapter for a PostgreSQL database in order to expose the interfaces which are required in the github.com/momeni/clean-arch/pkg/core/repo package. |
postgres/carsrp
Package carsrp is the adapter for the cars repository.
|
Package carsrp is the adapter for the cars repository. |
postgres/migration
Package migration is the top-level database migration package which acts as a facade for all supported database schema versions.
|
Package migration is the top-level database migration package which acts as a facade for all supported database schema versions. |
postgres/migration/down
Package down provides the common aspects among all downwards database schema migrators.
|
Package down provides the common aspects among all downwards database schema migrators. |
postgres/migration/down/dnmig1
Package dnmig1 provides a downwards database schema Migrator type for major version 1 and its corresponding Adapter type which can adapt it to the version independent repo.DownMigrator[repo.SchemaSettler] interface.
|
Package dnmig1 provides a downwards database schema Migrator type for major version 1 and its corresponding Adapter type which can adapt it to the version independent repo.DownMigrator[repo.SchemaSettler] interface. |
postgres/migration/sch1v0
Package sch1v0 provides the top-level Migrator type for database schema version 1.0.x which can be used for starting a multi-database migration operation.
|
Package sch1v0 provides the top-level Migrator type for database schema version 1.0.x which can be used for starting a multi-database migration operation. |
postgres/migration/sch1v1
Package sch1v1 provides the top-level Migrator type for database schema version 1.1.x which can be used for starting a multi-database migration operation.
|
Package sch1v1 provides the top-level Migrator type for database schema version 1.1.x which can be used for starting a multi-database migration operation. |
postgres/migration/schi
Package schi provides the schema migrator interfaces and is imported by schXvY packages.
|
Package schi provides the schema migrator interfaces and is imported by schXvY packages. |
postgres/migration/settle/stlmig1
Package stlmig1 provides Settler type for database schema major version 1 with two main usages.
|
Package stlmig1 provides Settler type for database schema major version 1 with two main usages. |
postgres/migration/up
Package up provides the common aspects among all upwards database schema migrators.
|
Package up provides the common aspects among all upwards database schema migrators. |
postgres/migration/up/upmig1
Package upmig1 provides an upwards database schema Migrator type for major version 1 and its corresponding Adapter type which can adapt it to the version independent repo.UpMigrator[repo.SchemaSettler] interface.
|
Package upmig1 provides an upwards database schema Migrator type for major version 1 and its corresponding Adapter type which can adapt it to the version independent repo.UpMigrator[repo.SchemaSettler] interface. |
postgres/schemarp
Package schemarp provides a reification of the repo.Schema interface making it possible to create or drop different schema, foreign server, or manage database user roles.
|
Package schemarp provides a reification of the repo.Schema interface making it possible to create or drop different schema, foreign server, or manage database user roles. |
hash
|
|
scram
Package scram presents an implementation of SCRAM-SHA-256 and SCRAM-SHA-1 mechanisms.
|
Package scram presents an implementation of SCRAM-SHA-256 and SCRAM-SHA-1 mechanisms. |
restful
|
|
gin
Package gin wraps the gin-gonic web framework and lists the middlewares which are expected to be enabled/disabled by the configuration settings.
|
Package gin wraps the gin-gonic web framework and lists the middlewares which are expected to be enabled/disabled by the configuration settings. |
gin/carsrs
Package carsrs realizes the cars resource, allowing the cars manipulation REST APIs to be accepted and delegated to the cars use cases respectively.
|
Package carsrs realizes the cars resource, allowing the cars manipulation REST APIs to be accepted and delegated to the cars use cases respectively. |
gin/routes
Package routes contains all resource packages and facilitates instantiation and registration of all repo, use case, and resource packages based on the user provided configuration settings.
|
Package routes contains all resource packages and facilitates instantiation and registration of all repo, use case, and resource packages based on the user provided configuration settings. |
gin/serdser
Package serdser contains the reusable serialization/deserialization logics in order to be used by the resource packages.
|
Package serdser contains the reusable serialization/deserialization logics in order to be used by the resource packages. |
Click to show internal directories.
Click to hide internal directories.