Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crtsh/ct_monitor
/ functions
Functions
54 in github.com/crtsh/ct_monitor
⨍
Functions
54
◇
Types & classes
7
↓ 8 callers
Function
LogPostgresFatal
(err error)
certwatch/connections.go:151
↓ 5 callers
Function
LogPostgresError
(err error, debugCodes ...string)
certwatch/connections.go:133
↓ 5 callers
Function
httpClientForURL
(url string)
ct/getSTH.go:57
↓ 4 callers
Function
GetCachedIssuer
(sha256Cert [sha256.Size]byte)
certwatch/cachedIssuer.go:27
↓ 4 callers
Function
ctxSleep
ctxSleep sleeps for d or until ctx is canceled. It returns true if the full duration elapsed, false if ctx was canceled first.
ct/getEntriesLauncher.go:97
↓ 3 callers
Function
constructFields
(pgErr *pgconn.PgError)
certwatch/connections.go:112
↓ 2 callers
Function
S2B
(s string)
utils/conversions.go:16
↓ 2 callers
Function
SetCachedIssuer
(ci CachedIssuer, sha256Cert [sha256.Size]byte)
certwatch/cachedIssuer.go:34
↓ 2 callers
Function
tilePath
(tileNumber int64)
ct/staticGetEntries.go:170
↓ 1 callers
Function
B2S
Taken from https://go101.org/article/unsafe.html
utils/conversions.go:9
↓ 1 callers
Function
BeginUpdateConfig
()
certwatch/configSyncer.go:27
↓ 1 callers
Function
Close
()
certwatch/connections.go:76
↓ 1 callers
Function
DatabaseWatcherPing
()
certwatch/databaseWatcher.go:10
↓ 1 callers
Function
FetchIssuer
(sha256Cert [sha256.Size]byte)
certwatch/issuerFetcher.go:11
↓ 1 callers
Function
GetConfig
()
certwatch/configSyncer.go:12
↓ 1 callers
Function
GetEntriesLauncher
(ctx context.Context)
ct/getEntriesLauncher.go:30
↓ 1 callers
Function
GetSTHs
()
ct/getSTH.go:64
↓ 1 callers
Function
InitLogger
(isDevelopment bool, samplingInitial int, samplingThereafter int)
logger/logger.go:15
↓ 1 callers
Function
LogConfigSyncer
(ctx context.Context)
ct/logConfigSyncer.go:18
↓ 1 callers
Function
LogRequest
(ctx *fasthttp.RequestCtx)
logger/logger.go:46
↓ 1 callers
Function
NewEntriesWriter
(ctx context.Context)
certwatch/newEntriesWriter.go:43
↓ 1 callers
Function
Run
()
server/server.go:36
↓ 1 callers
Function
Shutdown
()
server/server.go:52
↓ 1 callers
Function
UpdateLogList
(newctlog map[int]*Log)
ct/logList.go:53
↓ 1 callers
Function
buildInfo
(ctx *fasthttp.RequestCtx)
server/buildInfo.go:16
↓ 1 callers
Method
callRFC6962GetEntries
()
ct/rfc6962GetEntries.go:21
↓ 1 callers
Method
callStaticGetEntries
()
ct/staticGetEntries.go:24
↓ 1 callers
Function
configInfo
(ctx *fasthttp.RequestCtx)
server/configInfo.go:16
↓ 1 callers
Function
determineTileDataURL
(logURL string, start, end int64, forceFullTile bool)
ct/staticGetEntries.go:160
↓ 1 callers
Function
flushBatch
flushBatch performs the leaf-cert database writes for one accumulated batch: concurrently COPYs each backend's leaf certs, group-commits the resulting
certwatch/newEntriesWriter.go:193
↓ 1 callers
Function
getChainCertificate
(logUrl string, sha256ChainCert [32]byte)
ct/staticGetEntries.go:272
↓ 1 callers
Function
getFastHTTPMetrics
()
server/metrics.go:55
↓ 1 callers
Function
getSTH
(i int)
ct/getSTH.go:90
↓ 1 callers
Function
healthz
(ctx *fasthttp.RequestCtx)
server/healthz.go:13
↓ 1 callers
Function
initFastHTTPMetrics
()
server/metrics.go:35
↓ 1 callers
Function
initViper
()
config/config.go:112
↓ 1 callers
Function
launchGetEntries
(ctx context.Context)
ct/getEntriesLauncher.go:50
↓ 1 callers
Function
metrics
(ctx *fasthttp.RequestCtx)
server/metrics.go:21
↓ 1 callers
Method
processNewRFC6962Entries
(logURL string, body []byte, start int64, processedEntries *[]msg.NewLogEntry)
ct/rfc6962GetEntries.go:148
↓ 1 callers
Method
processNewStaticEntries
(logURL string, body []byte, start, end, tileStart int64, processedEntries *[]msg.NewLogEntry)
ct/staticGetEntries.go:180
↓ 1 callers
Function
profilingHandler
(ctx *fasthttp.RequestCtx)
server/pprof.go:37
↓ 1 callers
Function
registerPProf
(h func(string, func(http.ResponseWriter, *http.Request)))
server/pprof.go:23
↓ 1 callers
Function
syncLogConfig
()
ct/logConfigSyncer.go:34
↓ 1 callers
Function
writeCtLogEntries
writeCtLogEntries performs the final ct_log_entry COPY for one batch. It runs on its own dedicated connection so that it can proceed in parallel with
certwatch/newEntriesWriter.go:373
Function
init
()
ct/getSTH.go:29
Function
init
()
ct/logList.go:49
Function
init
()
msg/messages.go:27
Function
init
()
server/metrics.go:15
Function
init
()
server/pprof.go:17
Function
init
()
certwatch/connections.go:31
Function
init
()
certwatch/cachedIssuer.go:23
Function
init
()
config/config.go:56
Function
main
()
main.go:33
Function
monitoringHandler
(ctx *fasthttp.RequestCtx)
server/server.go:17