Directories ¶
Path | Synopsis |
---|---|
Package adapter represents varies third part resource need to be accessed.
|
Package adapter represents varies third part resource need to be accessed. |
cacheclient/generatedclient
Package generatedclient is created to save the generated client lib for gRPC call.
|
Package generatedclient is created to save the generated client lib for gRPC call. |
paymentclient
Package paymentclient is created to show the project structure, no real use.
|
Package paymentclient is created to show the project structure, no real use. |
userclient
Package userclient is client library if you need to call the user Micro-service as a client.
|
Package userclient is client library if you need to call the user Micro-service as a client. |
Package config reasd configurations from a YAML file and load them into a AppConfig type to save the configuration information for the application.
|
Package config reasd configurations from a YAML file and load them into a AppConfig type to save the configuration information for the application. |
package container use dependency injection to create concrete type and wire the whole application together
|
package container use dependency injection to create concrete type and wire the whole application together |
datastorefactory
Package datastorefactory using factory method pattern to create concrete database handler.
|
Package datastorefactory using factory method pattern to create concrete database handler. |
loggerfactory
package loggerfactory handles creating concrete logger with factory method pattern
|
package loggerfactory handles creating concrete logger with factory method pattern |
loggerfactory/logrus
package logrus handles creating logrus logger
|
package logrus handles creating logrus logger |
loggerfactory/zap
package zap handles creating zap logger
|
package zap handles creating zap logger |
usecasefactory
Package usecasefactory using factory method pattern to create concrete case case.
|
Package usecasefactory using factory method pattern to create concrete case case. |
Package dataservice and it's sub-package represents data persistence service, mainly access database, but also including data persisted by other Micro-service.
|
Package dataservice and it's sub-package represents data persistence service, mainly access database, but also including data persisted by other Micro-service. |
txdataservice
Package txdataservice represents transaction support on data service layer
|
Package txdataservice represents transaction support on data service layer |
userdata/couchdb
Package couchdb represents the CouchDB implementation of the user data persistence layer
|
Package couchdb represents the CouchDB implementation of the user data persistence layer |
userdata/sqldb
Package sql represents SQL database implementation of the user data persistence layer
|
Package sql represents SQL database implementation of the user data persistence layer |
gdbc
package gdbc is created to represents low level database interfaces in order to have an unified way to access database handler.
|
package gdbc is created to represents low level database interfaces in order to have an unified way to access database handler. |
listuser
Package registration represents the concrete implementation of ListUserUseCaseInterface interface
|
Package registration represents the concrete implementation of ListUserUseCaseInterface interface |
registration
Package registration represents the concrete implementation of RegistrationUseCaseInterface interface.
|
Package registration represents the concrete implementation of RegistrationUseCaseInterface interface. |
Click to show internal directories.
Click to hide internal directories.