Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogInstance ¶
func LogInstance(header *multipart.FileHeader, fileName string, timeSince time.Duration, opts *app.Opts) error
LogInstance logs an entry from the current instance.
Types ¶
type Entries ¶
type Entries []Entry
Entries represents a slice of multiple entries for marshaling into the json log file.
type Entry ¶
type Entry struct { Index int `json:"index"` TimeOfEntry string `json:"timeOfEntry"` FileName string `json:"fileName"` FileSize string `json:"fileSize"` OutputSize string `json:"outputSize"` ProcessTime string `json:"processTime"` Opts app.Opts `json:"opts"` }
Entry represents a single log entry.
Click to show internal directories.
Click to hide internal directories.