/
connconfig_concrete.go
102 lines (81 loc) · 2.29 KB
/
connconfig_concrete.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
package pgxer
import (
basePgconn "github.com/jackc/pgconn"
baseStmtCache "github.com/jackc/pgconn/stmtcache"
basePgx "github.com/jackc/pgx/v4"
"github.com/fgm/pgxer/pgconn"
"github.com/fgm/pgxer/stmtcache"
)
type ConcreteConnConfig struct {
*basePgx.ConnConfig
}
func (cc *ConcreteConnConfig) Config() pgconn.Config {
// FIXME implement
return nil
}
func (cc *ConcreteConnConfig) SetConfig(config pgconn.Config) ConnConfig {
// FIXME implement
return nil
}
func (cc *ConcreteConnConfig) BuildStatementCache() BuildStatementCacheFunc {
// FIXME implement
return nil
}
func (cc *ConcreteConnConfig) Logger() Logger {
// FIXME implement
return nil
}
func (cc *ConcreteConnConfig) LogLevel() LogLevel {
// FIXME implement
return LogLevelNone
}
func (cc *ConcreteConnConfig) PreferSimpleProtocol() bool {
// FIXME implement
return false
}
func (cc *ConcreteConnConfig) SetBuildStatementCache(BuildStatementCacheFunc) ConnConfig {
// FIXME implement
return nil
}
func (cc *ConcreteConnConfig) SetLogger(Logger) ConnConfig {
// FIXME implement
return nil
}
func (cc *ConcreteConnConfig) SetLogLevel(LogLevel) ConnConfig {
// FIXME implement
return nil
}
func (cc *ConcreteConnConfig) SetPreferSimpleProtocol(bool) ConnConfig {
// FIXME implement
return nil
}
func (cc *ConcreteConnConfig) ConnString() string {
// FIXME implement
return ""
}
func (cc *ConcreteConnConfig) Copy() ConnConfig {
// FIXME implement
return nil
}
func BuildStatementCacheFromBaseBuildStatementCache(func(conn *basePgconn.PgConn) baseStmtCache.Cache) func(conn pgconn.PgConn) stmtcache.Cache {
// FIXME implement
return nil
}
func baseBuildFrontendFromBuildFrontend(frontend pgconn.BuildFrontendFunc) basePgconn.BuildFrontendFunc {
return nil
}
func baseFallbacksFromFallbacks([]pgconn.FallbackConfig) []*basePgconn.FallbackConfig {
return nil
}
func baseValidateConnectFromValidateConnect(connect pgconn.ValidateConnectFunc) basePgconn.ValidateConnectFunc {
return nil
}
func baseAfterConnectFromAfterConnect(connect pgconn.AfterConnectFunc) basePgconn.AfterConnectFunc {
return nil
}
func baseOnNoticeFromOnNotice(notice pgconn.NoticeHandler) basePgconn.NoticeHandler {
return nil
}
func baseOnNotificationFromOnNotification(notification pgconn.NotificationHandler) basePgconn.NotificationHandler {
return nil
}