stopTimer stops the inactivity timer permanently.
()
| 115 | |
| 116 | // stopTimer stops the inactivity timer permanently. |
| 117 | func (i *sessionInfo) stopTimer() { |
| 118 | i.timerMu.Lock() |
| 119 | defer i.timerMu.Unlock() |
| 120 | if i.timer != nil { |
| 121 | i.timer.Stop() |
| 122 | i.timer = nil |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | // StreamableHTTPOptions configures the StreamableHTTPHandler. |
| 127 | type StreamableHTTPOptions struct { |