memSessionStore 内存实现,仅用于测试。
| 13 | |
| 14 | // memSessionStore 内存实现,仅用于测试。 |
| 15 | type memSessionStore struct { |
| 16 | mu sync.RWMutex |
| 17 | data map[string]string |
| 18 | } |
| 19 | |
| 20 | func newMemStore() *memSessionStore { |
| 21 | return &memSessionStore{data: make(map[string]string)} |
nothing calls this directly
no outgoing calls
no test coverage detected