treasurer/dal/hlogger.go

105 lines
2.0 KiB
Go
Raw Normal View History

2023-05-16 16:21:56 +00:00
package dal
// This file contains Hl structs for Data Access Layer
//#region ======== HLOGGER ERRORS ========
//#region ======== Common ========
type ErrorType struct {
Err error
}
type ErrorDalNewClient ErrorType
type ErrorDalUnableToConnect ErrorType
type ErrorDalPingFailed ErrorType
type ErrorDalDisconnectFailure ErrorType
type ErrorDalInit ErrorType
//#endregion
//#region ======== Postgre SQL ========
//#endregion
//#region ======== MongoDB ========
type ErrorInsertPayment ErrorType
type ErrorUpdatePayment ErrorType
type ErrorGetPayment ErrorType
type ErrorListenPayment ErrorType
type ErrorInsertPayWay ErrorType
type ErrorUpdatePayWay ErrorType
type ErrorGetPayWay ErrorType
type ErrorListenPayWay ErrorType
type ErrorInsertPayout ErrorType
type ErrorUpdatePayout ErrorType
type ErrorGetPayout ErrorType
type ErrorListenPayout ErrorType
type ErrorInsertPayWayPayment ErrorType
type ErrorUpdatePayWayPayment ErrorType
type ErrorDeletePayWayPayment ErrorType
type ErrorGetPayWayPayment ErrorType
//#endregion
//#endregion
//#region ======== HLOGGER INFO ========
//#region ======== MongoDB ========
type InfoInsertPayWay InfoType
type InfoUpdatePayWay InfoType
type InfoGetPayWay InfoType
type InfoListenPayWay InfoType
type InfoInsertPayment InfoType
type InfoUpdatePayment InfoType
type InfoGetPayment InfoType
type InfoListenPayment InfoType
type InfoInsertPayout InfoType
type InfoUpdatePayout InfoType
type InfoGetPayout InfoType
type InfoListenPayout InfoType
type InfoInsertPayWayPayment InfoType
type InfoUpdatePayWayPayment InfoType
type InfoDeletePayWayPayment InfoType
type InfoGetPayWayPayment InfoType
type InfoPayWay struct {
CtxPayWay string
CtxName string
CtxEvent string
}
//#endregion
//#region ======== Common ========
type InfoType struct {
Info interface{}
}
type InfoDalConnected InfoType
type InfoDalDisconnected InfoType
type InfoDalInit struct {
Result string
}
type InfoDalPing struct {
Delay int64 // Milliseconds
}
//#endregion
//#region ======== Postgre SQL ========
//#endregion
//#endregion