stop terminates the key rotation goroutine.
()
| 149 | |
| 150 | // stop terminates the key rotation goroutine. |
| 151 | func (s *SessionTicketService) stop() { |
| 152 | if s.stopChan != nil { |
| 153 | close(s.stopChan) |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | // register sets the session ticket keys on cfg |
| 158 | // and keeps them updated. Any values registered |