Versions in this module Expand all Collapse all v25 v25.1.30 Jan 31, 2025 v25.1.1 Jan 1, 2025 Changes in this version + type ActivityTimer struct + func CancelAfterInactivity(ctx context.Context, cancel context.CancelFunc, timeout time.Duration) *ActivityTimer + func (t *ActivityTimer) SetTimeout(timeout time.Duration) + func (t *ActivityTimer) Update() + type ActivityUpdater interface + Update func() + type Notifier struct + func NewNotifier() *Notifier + func (n *Notifier) Signal() + func (n *Notifier) Wait() <-chan struct{} Other modules containing this package github.com/xmplusdev/xray-core github.com/xmplusdev/xray-core/v24