SessionAffinitySelector wraps another selector with session-sticky behavior. It extracts session ID from multiple sources and maintains session-to-auth mappings with automatic failover when the bound auth becomes unavailable.
| 369 | // It extracts session ID from multiple sources and maintains session-to-auth |
| 370 | // mappings with automatic failover when the bound auth becomes unavailable. |
| 371 | type SessionAffinitySelector struct { |
| 372 | fallback Selector |
| 373 | cache *SessionCache |
| 374 | } |
| 375 | |
| 376 | // SessionAffinityConfig configures the session affinity selector. |
| 377 | type SessionAffinityConfig struct { |
nothing calls this directly
no outgoing calls
no test coverage detected