Directories
¶
Path | Synopsis |
---|---|
config
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. |
container
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 |
container/datastorefactory
Package datastorefactory using factory method pattern to create concrete database handler.
|
Package datastorefactory using factory method pattern to create concrete database handler. |
container/usecasefactory
Package usecasefactory using factory method pattern to create concrete case case.
|
Package usecasefactory using factory method pattern to create concrete case case. |
logger
Package logger represents a generic logging interface
|
Package logger represents a generic logging interface |
Package applicationservice represents varies third part resource need to be accessed.
|
Package applicationservice 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. |
dataservice
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. |
dataservice/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 |
dataservice/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 |
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. |
domain
|
|
usecase/listuser
Package registration represents the concrete implementation of ListUserUseCaseInterface interface
|
Package registration represents the concrete implementation of ListUserUseCaseInterface interface |
usecase/registration
Package registrationTx represents the concrete implementation of RegistrationUseCaseInterface and RegistrationTxUseCaseInterface interface.
|
Package registrationTx represents the concrete implementation of RegistrationUseCaseInterface and RegistrationTxUseCaseInterface interface. |
Click to show internal directories.
Click to hide internal directories.