Documentation ¶ Index ¶ func File(c *gin.Context, fileName string, dataBytes []byte) func Message(ctx *gin.Context, timeSource *timesource.Source, message string, code int, ...) error type HttpResponse Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func File ¶ func File(c *gin.Context, fileName string, dataBytes []byte) func Message ¶ func Message(ctx *gin.Context, timeSource *timesource.Source, message string, code int, data any) error Types ¶ type HttpResponse ¶ type HttpResponse struct { Time string `json:"time"` Status int `json:"status"` Error bool `json:"error"` Path string `json:"path"` Message string `json:"message"` Data any `json:"data"` } Source Files ¶ View all Source files file.go message.go types.go Click to show internal directories. Click to hide internal directories.