MCPcopy Index your code
hub / github.com/coder/coder / DSN

Method DSN

coderd/database/dbtestutil/postgres.go:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func (p ConnectionParams) DSN() string {
39 return fmt.Sprintf("postgres://%s:%s@%s:%s/%s?sslmode=disable", p.Username, p.Password, p.Host, p.Port, p.DBName)
40}
41
42// These variables are global because all tests share them.
43var (

Callers 8

CreateMethod · 0.95
initDefaultConnectionFunction · 0.95
openEmbeddedPostgresFunction · 0.80
initMethod · 0.80
createCoderTestingDBFunction · 0.80
OpenFunction · 0.80
createAndInitDatabaseFunction · 0.80
OpenContainerizedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected