Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmptyTunnel ¶
type EmptyTunnel struct{}
func (*EmptyTunnel) LastTouchedAt ¶
func (e *EmptyTunnel) LastTouchedAt() time.Time
func (*EmptyTunnel) OnDay ¶
func (e *EmptyTunnel) OnDay()
func (*EmptyTunnel) OnHour ¶
func (e *EmptyTunnel) OnHour()
func (*EmptyTunnel) OnMinute ¶
func (e *EmptyTunnel) OnMinute()
func (*EmptyTunnel) OnMonth ¶
func (e *EmptyTunnel) OnMonth()
func (*EmptyTunnel) OnWeek ¶
func (e *EmptyTunnel) OnWeek()
func (*EmptyTunnel) SetTouchedAt ¶
func (e *EmptyTunnel) SetTouchedAt(t time.Time)
type Option ¶
type Option func(t *handler)
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.