Documentation ¶
Index ¶
- Variables
- func AddRefCount(requestId string)
- func CloseLogFile(requestId string)
- func FileDownloadMiddleware(path string, fp *os.File) gin.HandlerFunc
- func GenUUID() string
- func GetLogFile(requestId string) (fpOut *os.File)
- func GetLogFilePtr(c *gin.Context) (perReqLog *os.File)
- func InFileDownloadList(s string) (fn string, found bool)
- func RequestIdMiddleware() gin.HandlerFunc
- func RequestLogger(LogFileName string) gin.HandlerFunc
- func ResetLogFile(newLf *os.File)
- func SetLogFile(requestId string, fp *os.File)
- func TimedCleanupLogFile()
- func Xtf() error
- type RequestLogFile
Constants ¶
This section is empty.
Variables ¶
View Source
var URLDownloadPath string
Functions ¶
func AddRefCount ¶ added in v1.0.51
func AddRefCount(requestId string)
func CloseLogFile ¶
func CloseLogFile(requestId string)
func FileDownloadMiddleware ¶
func FileDownloadMiddleware(path string, fp *os.File) gin.HandlerFunc
func GetLogFile ¶
func InFileDownloadList ¶
func RequestIdMiddleware ¶
func RequestIdMiddleware() gin.HandlerFunc
func RequestLogger ¶
func RequestLogger(LogFileName string) gin.HandlerFunc
func ResetLogFile ¶
func SetLogFile ¶
func TimedCleanupLogFile ¶
func TimedCleanupLogFile()
Types ¶
type RequestLogFile ¶
type RequestLogFile struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.