type github.com/jackc/pgconn/stmtcache.LRU
12 uses
github.com/jackc/pgconn/stmtcache (current package)
lru.go#L15: type LRU struct {
lru.go#L27: func NewLRU(conn *pgconn.PgConn, mode int, cap int) *LRU {
lru.go#L33: return &LRU{
lru.go#L44: func (c *LRU) Get(ctx context.Context, sql string) (*pgconn.StatementDescription, error) {
lru.go#L80: func (c *LRU) Clear(ctx context.Context) error {
lru.go#L91: func (c *LRU) StatementErrored(sql string, err error) {
lru.go#L105: func (c *LRU) clearStmt(ctx context.Context, sql string) error {
lru.go#L124: func (c *LRU) Len() int {
lru.go#L129: func (c *LRU) Cap() int {
lru.go#L134: func (c *LRU) Mode() int {
lru.go#L138: func (c *LRU) prepare(ctx context.Context, sql string) (*pgconn.StatementDescription, error) {
lru.go#L148: func (c *LRU) removeOldest(ctx context.Context) error {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |