MCPcopy
hub / github.com/koderover/zadig / OperationLogStatus

Function OperationLogStatus

pkg/middleware/gin/audit_log.go:27–32  ·  view source on GitHub ↗

OperationLogStatus update status of operation if necessary

()

Source from the content-addressed store, hash-verified

25
26// OperationLogStatus update status of operation if necessary
27func OperationLogStatus() gin.HandlerFunc {
28 return func(c *gin.Context) {
29 defer UpdateOperationLogStatus(c)
30 c.Next()
31 }
32}
33
34// 更新操作日志状态
35func UpdateOperationLogStatus(c *gin.Context) {

Callers

nothing calls this directly

Calls 2

UpdateOperationLogStatusFunction · 0.85
NextMethod · 0.80

Tested by

no test coverage detected