MCPcopy Index your code
hub / github.com/PatchMon/PatchMon / Close

Method Close

server-source-code/internal/database/db.go:128–130  ·  view source on GitHub ↗

Close closes the pool.

()

Source from the content-addressed store, hash-verified

126
127// Close closes the pool.
128func (d *DB) Close() {
129 d.pool.Close()
130}
131
132// Begin starts a pgx transaction for use with sqlc Queries.WithTx.
133func (d *DB) Begin(ctx context.Context) (pgx.Tx, error) {

Callers 15

mainFunction · 0.95
acceptLoopMethod · 0.45
closeGuacdConnMethod · 0.45
cleanupMethod · 0.45
RunFunction · 0.45
NewDBFunction · 0.45
NewFromURLFunction · 0.45
ExchangeCodeMethod · 0.45
GetUserFunction · 0.45

Calls

no outgoing calls