├── .gitignore ├── .travis.yml ├── GolangCommonDDD.sublime-project ├── Implementations ├── Logger │ ├── DefaultLogger │ │ ├── DefaultLogger.go │ │ └── multipleLogger.go │ └── DefaultServiceLogger │ │ ├── DefaultServiceLogger.go │ │ └── serviceAppender.go ├── Misc │ ├── Encryption │ │ └── DefaultEncryptionService │ │ │ ├── Service.go │ │ │ ├── passwordHashing.go │ │ │ └── passwordHashing_test.go │ ├── Errors │ │ └── DefaultErrorsService │ │ │ └── Service.go │ ├── HttpRenderHelper │ │ └── DefaultHttpRenderHelperService │ │ │ └── Service.go │ ├── HttpRequestHelper │ │ └── DefaultHttpRequestHelperService │ │ │ └── Service.go │ └── Validation │ │ └── DefaultBaseValidationService │ │ └── service.go ├── Security │ └── Authentication │ │ ├── BasicHttpAuthenticationService │ │ └── Service.go │ │ ├── DefaultAuthenticationMiddleware │ │ └── middleware.go │ │ └── Jwt │ │ ├── DefaultJwtHelperService │ │ └── service.go │ │ └── JWTAuthenticationService │ │ └── service.go ├── Settings │ └── AutoReloadingSettings │ │ ├── SettingsWithWatcher.go │ │ ├── handlers.go │ │ ├── reloadHandlers.go │ │ └── watchConfig.go └── Storage │ ├── DbStorage │ └── DatabaseSqlxDbStorage │ │ ├── SqlxStorage.go │ │ └── txWrap.go │ └── KeyValueStorage │ └── RedisKeyValueStorage │ ├── storage.go │ └── valueWrap.go ├── Interface ├── Logger │ └── Logger.go ├── Misc │ ├── Encryption │ │ └── EncryptionService.go │ ├── Errors │ │ ├── ClientError │ │ │ └── ClientError.go │ │ └── ErrorsService.go │ ├── HttpRenderHelper │ │ └── HttpRenderHelperService.go │ ├── HttpRequestHelper │ │ ├── HttpRequestHelperService.go │ │ └── RequestValue.go │ └── Validation │ │ └── BaseValidationService.go ├── Security │ └── Authentication │ │ ├── AuthenticationMiddleware.go │ │ ├── BaseAuthUserHelperService.go │ │ ├── BaseAuthenticationService.go │ │ ├── BaseUser.go │ │ └── Jwt │ │ └── JwtHelperService.go ├── Settings │ └── ReloadableSettings │ │ ├── ReloadableSettings.go │ │ └── SettingsReloadObserver.go └── Storage │ ├── DbStorage │ ├── DbStorage.go │ ├── DbStorageAndTransactionShared.go │ ├── DbStorageExecResult.go │ ├── DbStorageScannableResult.go │ └── DbStorageTransaction.go │ └── KeyValueStorage │ ├── KeyValueStorage.go │ └── ValueWrap.go ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.5 5 | -------------------------------------------------------------------------------- /GolangCommonDDD.sublime-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/GolangCommonDDD.sublime-project -------------------------------------------------------------------------------- /Implementations/Logger/DefaultLogger/DefaultLogger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Logger/DefaultLogger/DefaultLogger.go -------------------------------------------------------------------------------- /Implementations/Logger/DefaultLogger/multipleLogger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Logger/DefaultLogger/multipleLogger.go -------------------------------------------------------------------------------- /Implementations/Logger/DefaultServiceLogger/DefaultServiceLogger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Logger/DefaultServiceLogger/DefaultServiceLogger.go -------------------------------------------------------------------------------- /Implementations/Logger/DefaultServiceLogger/serviceAppender.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Logger/DefaultServiceLogger/serviceAppender.go -------------------------------------------------------------------------------- /Implementations/Misc/Encryption/DefaultEncryptionService/Service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Misc/Encryption/DefaultEncryptionService/Service.go -------------------------------------------------------------------------------- /Implementations/Misc/Encryption/DefaultEncryptionService/passwordHashing.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Misc/Encryption/DefaultEncryptionService/passwordHashing.go -------------------------------------------------------------------------------- /Implementations/Misc/Encryption/DefaultEncryptionService/passwordHashing_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Misc/Encryption/DefaultEncryptionService/passwordHashing_test.go -------------------------------------------------------------------------------- /Implementations/Misc/Errors/DefaultErrorsService/Service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Misc/Errors/DefaultErrorsService/Service.go -------------------------------------------------------------------------------- /Implementations/Misc/HttpRenderHelper/DefaultHttpRenderHelperService/Service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Misc/HttpRenderHelper/DefaultHttpRenderHelperService/Service.go -------------------------------------------------------------------------------- /Implementations/Misc/HttpRequestHelper/DefaultHttpRequestHelperService/Service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Misc/HttpRequestHelper/DefaultHttpRequestHelperService/Service.go -------------------------------------------------------------------------------- /Implementations/Misc/Validation/DefaultBaseValidationService/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Misc/Validation/DefaultBaseValidationService/service.go -------------------------------------------------------------------------------- /Implementations/Security/Authentication/BasicHttpAuthenticationService/Service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Security/Authentication/BasicHttpAuthenticationService/Service.go -------------------------------------------------------------------------------- /Implementations/Security/Authentication/DefaultAuthenticationMiddleware/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Security/Authentication/DefaultAuthenticationMiddleware/middleware.go -------------------------------------------------------------------------------- /Implementations/Security/Authentication/Jwt/DefaultJwtHelperService/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Security/Authentication/Jwt/DefaultJwtHelperService/service.go -------------------------------------------------------------------------------- /Implementations/Security/Authentication/Jwt/JWTAuthenticationService/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Security/Authentication/Jwt/JWTAuthenticationService/service.go -------------------------------------------------------------------------------- /Implementations/Settings/AutoReloadingSettings/SettingsWithWatcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Settings/AutoReloadingSettings/SettingsWithWatcher.go -------------------------------------------------------------------------------- /Implementations/Settings/AutoReloadingSettings/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Settings/AutoReloadingSettings/handlers.go -------------------------------------------------------------------------------- /Implementations/Settings/AutoReloadingSettings/reloadHandlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Settings/AutoReloadingSettings/reloadHandlers.go -------------------------------------------------------------------------------- /Implementations/Settings/AutoReloadingSettings/watchConfig.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Settings/AutoReloadingSettings/watchConfig.go -------------------------------------------------------------------------------- /Implementations/Storage/DbStorage/DatabaseSqlxDbStorage/SqlxStorage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Storage/DbStorage/DatabaseSqlxDbStorage/SqlxStorage.go -------------------------------------------------------------------------------- /Implementations/Storage/DbStorage/DatabaseSqlxDbStorage/txWrap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Storage/DbStorage/DatabaseSqlxDbStorage/txWrap.go -------------------------------------------------------------------------------- /Implementations/Storage/KeyValueStorage/RedisKeyValueStorage/storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Storage/KeyValueStorage/RedisKeyValueStorage/storage.go -------------------------------------------------------------------------------- /Implementations/Storage/KeyValueStorage/RedisKeyValueStorage/valueWrap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Implementations/Storage/KeyValueStorage/RedisKeyValueStorage/valueWrap.go -------------------------------------------------------------------------------- /Interface/Logger/Logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Logger/Logger.go -------------------------------------------------------------------------------- /Interface/Misc/Encryption/EncryptionService.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Misc/Encryption/EncryptionService.go -------------------------------------------------------------------------------- /Interface/Misc/Errors/ClientError/ClientError.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Misc/Errors/ClientError/ClientError.go -------------------------------------------------------------------------------- /Interface/Misc/Errors/ErrorsService.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Misc/Errors/ErrorsService.go -------------------------------------------------------------------------------- /Interface/Misc/HttpRenderHelper/HttpRenderHelperService.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Misc/HttpRenderHelper/HttpRenderHelperService.go -------------------------------------------------------------------------------- /Interface/Misc/HttpRequestHelper/HttpRequestHelperService.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Misc/HttpRequestHelper/HttpRequestHelperService.go -------------------------------------------------------------------------------- /Interface/Misc/HttpRequestHelper/RequestValue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Misc/HttpRequestHelper/RequestValue.go -------------------------------------------------------------------------------- /Interface/Misc/Validation/BaseValidationService.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Misc/Validation/BaseValidationService.go -------------------------------------------------------------------------------- /Interface/Security/Authentication/AuthenticationMiddleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Security/Authentication/AuthenticationMiddleware.go -------------------------------------------------------------------------------- /Interface/Security/Authentication/BaseAuthUserHelperService.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Security/Authentication/BaseAuthUserHelperService.go -------------------------------------------------------------------------------- /Interface/Security/Authentication/BaseAuthenticationService.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Security/Authentication/BaseAuthenticationService.go -------------------------------------------------------------------------------- /Interface/Security/Authentication/BaseUser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Security/Authentication/BaseUser.go -------------------------------------------------------------------------------- /Interface/Security/Authentication/Jwt/JwtHelperService.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Security/Authentication/Jwt/JwtHelperService.go -------------------------------------------------------------------------------- /Interface/Settings/ReloadableSettings/ReloadableSettings.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Settings/ReloadableSettings/ReloadableSettings.go -------------------------------------------------------------------------------- /Interface/Settings/ReloadableSettings/SettingsReloadObserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Settings/ReloadableSettings/SettingsReloadObserver.go -------------------------------------------------------------------------------- /Interface/Storage/DbStorage/DbStorage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Storage/DbStorage/DbStorage.go -------------------------------------------------------------------------------- /Interface/Storage/DbStorage/DbStorageAndTransactionShared.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Storage/DbStorage/DbStorageAndTransactionShared.go -------------------------------------------------------------------------------- /Interface/Storage/DbStorage/DbStorageExecResult.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Storage/DbStorage/DbStorageExecResult.go -------------------------------------------------------------------------------- /Interface/Storage/DbStorage/DbStorageScannableResult.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Storage/DbStorage/DbStorageScannableResult.go -------------------------------------------------------------------------------- /Interface/Storage/DbStorage/DbStorageTransaction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Storage/DbStorage/DbStorageTransaction.go -------------------------------------------------------------------------------- /Interface/Storage/KeyValueStorage/KeyValueStorage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Storage/KeyValueStorage/KeyValueStorage.go -------------------------------------------------------------------------------- /Interface/Storage/KeyValueStorage/ValueWrap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/Interface/Storage/KeyValueStorage/ValueWrap.go -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/francoishill/golang-common-ddd/HEAD/README.md --------------------------------------------------------------------------------