Documentation ¶
Index ¶
- Variables
- func CreateTxLog(txnAction, txnActor string, txnRequestStatus string, ...) txlModel.TxlogSchemaJson
- func GetTxnActor(authString string) string
- func GetTxnHttpDetails(c *fiber.Ctx) txlModel.TxlogSchemaJsonTransactionDetails
- func IsTxnLoggable(txnAction string) bool
- type DotTxLog
- type TransactionLogs
- type TxnEntityType
Constants ¶
This section is empty.
Variables ¶
View Source
var WDB_DOT_TX_LOG_BASEPATH = "%s/txlogs"
View Source
var WDB_DOT_TX_LOG_FILEPATH = "%s/%s"
Functions ¶
func CreateTxLog ¶
func CreateTxLog(txnAction, txnActor string, txnRequestStatus string, txnEntities txlModel.TxlogSchemaJsonEntityPath, txnDetails txlModel.TxlogSchemaJsonTransactionDetails) txlModel.TxlogSchemaJson
func GetTxnActor ¶
func GetTxnHttpDetails ¶
func GetTxnHttpDetails(c *fiber.Ctx) txlModel.TxlogSchemaJsonTransactionDetails
Types ¶
type DotTxLog ¶
type DotTxLog struct {
// contains filtered or unexported fields
}
func UseDotTxLog ¶
return error too : if createTxLogBase returns error UseDotTxLog should also return error and fail
type TransactionLogs ¶
type TransactionLogs struct {
Logs []*txlModel.TxlogSchemaJson `json:"txn_logs"`
}
func (*TransactionLogs) Marshal ¶
func (tl *TransactionLogs) Marshal() ([]byte, error)
type TxnEntityType ¶
type TxnEntityType string
Click to show internal directories.
Click to hide internal directories.