MCPcopy
hub / github.com/gofiber/fiber / ID

Method ID

middleware/session/session.go:128–132  ·  view source on GitHub ↗

ID returns the session ID Returns: - string: The session ID. Usage: id := s.ID()

()

Source from the content-addressed store, hash-verified

126//
127// id := s.ID()
128func (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//

Callers 15

StringMethod · 0.45
Test_CSRF_WithSessionFunction · 0.45
Test_Session_MiddlewareFunction · 0.45
Test_Session_WithConfigFunction · 0.45
Test_Session_NextFunction · 0.45
Test_Store_GetFunction · 0.45

Calls

no outgoing calls