Documentation ¶
Index ¶
Constants ¶
View Source
const TimeBytesLength = 12
TimeBytesLength is the byte count of the array returned by TimeToBytes
Variables ¶
This section is empty.
Functions ¶
func BytesToTime ¶
BytesToTime converts a []byte to time.Time
func TimeToBytes ¶
TimeToBytes convert time.Time to []byte in a sortable way
Types ¶
type RootLog ¶
type RootLog interface { general.LoggerFactory Open(created time.Time) (general.Logger, error) Delete(created time.Time) error Range( start time.Time, reverse bool, cb func(created time.Time, name string) bool, ) error RangeLog( logCreated time.Time, start time.Time, reverse bool, cb func(created time.Time, message string) bool, ) error }
RootLog interface allows managing named logs
Click to show internal directories.
Click to hide internal directories.