MCPcopy Create free account
hub / github.com/denodrivers/postgres / getScramSocketConfiguration

Function getScramSocketConfiguration

tests/config.ts:134–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132};
133
134export const getScramSocketConfiguration = (): SocketConfiguration => {
135 return {
136 applicationName: config.postgres_scram.applicationName,
137 database: config.postgres_scram.database,
138 hostname: config.postgres_scram.socket,
139 host_type: "socket",
140 options: {},
141 password: config.postgres_scram.password,
142 port: config.postgres_scram.port,
143 user: config.postgres_scram.users.socket,
144 };
145};
146
147export const getTlsOnlyConfiguration = (): TcpConfiguration => {
148 return {

Callers 1

connection_test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected