PreparedCache a thread-safe cache for storing prepared queries.
| 36 | |
| 37 | // PreparedCache a thread-safe cache for storing prepared queries. |
| 38 | type PreparedCache interface { |
| 39 | // Store add an entry to the cache. |
| 40 | Store(id string, entry *PreparedEntry) |
| 41 | // Load retrieves an entry from the cache. `ok` is true if the entry is present; otherwise it's false. |
| 42 | Load(id string) (entry *PreparedEntry, ok bool) |
| 43 | } |
| 44 | |
| 45 | type SessionConfig struct { |
| 46 | ReconnectPolicy ReconnectPolicy |
no outgoing calls
no test coverage detected