ID returns the session ID Returns: - string: The session ID. Usage: id := s.ID()
()
| 126 | // |
| 127 | // id := s.ID() |
| 128 | func (s *Session) ID() string { |
| 129 | s.mu.RLock() |
| 130 | defer s.mu.RUnlock() |
| 131 | return s.id |
| 132 | } |
| 133 | |
| 134 | // Get returns the value associated with the given key. |
| 135 | // |
no outgoing calls