Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmptyTunnel ¶
type EmptyTunnel struct{}
func (*EmptyTunnel) GetTouchedAt ¶
func (e *EmptyTunnel) GetTouchedAt() time.Time
func (*EmptyTunnel) OnDayPassed ¶
func (e *EmptyTunnel) OnDayPassed()
func (*EmptyTunnel) OnHourPassed ¶
func (e *EmptyTunnel) OnHourPassed()
func (*EmptyTunnel) OnMinutePassed ¶
func (e *EmptyTunnel) OnMinutePassed()
func (*EmptyTunnel) OnMonthPassed ¶
func (e *EmptyTunnel) OnMonthPassed()
func (*EmptyTunnel) OnWeekPassed ¶
func (e *EmptyTunnel) OnWeekPassed()
func (*EmptyTunnel) SetTouchedAt ¶
func (e *EmptyTunnel) SetTouchedAt(t time.Time)
type Options ¶
type Options func(t *tunnel)
func WithCurrentTime ¶
WithCurrentTime 设置当前时间选项 WithCurrentTime sets the current time option
func WithWeekStartsAt ¶
WithWeekStartsAt 设置周起始日选项 WithWeekStartsAt sets the week start day option
Click to show internal directories.
Click to hide internal directories.