Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultCheckIntervalMillis = 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtomicTime ¶
type AtomicTime struct {
// contains filtered or unexported fields
}
func NewAtomicTime ¶
func NewAtomicTime(t0 time.Time) *AtomicTime
func (*AtomicTime) Get ¶
func (at *AtomicTime) Get() time.Time
func (*AtomicTime) Set ¶
func (at *AtomicTime) Set(t time.Time)
type ResetWriter ¶
func NewResetWriter ¶
func NewResetWriter(w io.Writer, resetFunc ResetFunc) ResetWriter
func NewResetWriterCh ¶
func NewResetWriterCh(w io.Writer, resetChan chan any) ResetWriter
Click to show internal directories.
Click to hide internal directories.