MCPcopy Index your code
hub / github.com/coder/coder / basicResumeTokenRefresher

Struct basicResumeTokenRefresher

tailnet/controllers.go:852–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

850}
851
852type basicResumeTokenRefresher struct {
853 logger slog.Logger
854 ctx context.Context
855 cancel context.CancelFunc
856 ctrl *basicResumeTokenController
857 client ResumeTokenClient
858 errCh chan error
859
860 sync.Mutex
861 closed bool
862 timer *quartz.Timer
863}
864
865func (r *basicResumeTokenRefresher) Close(_ context.Context) error {
866 r.cancel()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected