MCPcopy Create free account

hub / github.com/crtsh/ct_monitor / functions

Functions54 in github.com/crtsh/ct_monitor

↓ 8 callersFunctionLogPostgresFatal
(err error)
certwatch/connections.go:151
↓ 5 callersFunctionLogPostgresError
(err error, debugCodes ...string)
certwatch/connections.go:133
↓ 5 callersFunctionhttpClientForURL
(url string)
ct/getSTH.go:57
↓ 4 callersFunctionGetCachedIssuer
(sha256Cert [sha256.Size]byte)
certwatch/cachedIssuer.go:27
↓ 4 callersFunctionctxSleep
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 callersFunctionconstructFields
(pgErr *pgconn.PgError)
certwatch/connections.go:112
↓ 2 callersFunctionS2B
(s string)
utils/conversions.go:16
↓ 2 callersFunctionSetCachedIssuer
(ci CachedIssuer, sha256Cert [sha256.Size]byte)
certwatch/cachedIssuer.go:34
↓ 2 callersFunctiontilePath
(tileNumber int64)
ct/staticGetEntries.go:170
↓ 1 callersFunctionB2S
Taken from https://go101.org/article/unsafe.html
utils/conversions.go:9
↓ 1 callersFunctionBeginUpdateConfig
()
certwatch/configSyncer.go:27
↓ 1 callersFunctionClose
()
certwatch/connections.go:76
↓ 1 callersFunctionDatabaseWatcherPing
()
certwatch/databaseWatcher.go:10
↓ 1 callersFunctionFetchIssuer
(sha256Cert [sha256.Size]byte)
certwatch/issuerFetcher.go:11
↓ 1 callersFunctionGetConfig
()
certwatch/configSyncer.go:12
↓ 1 callersFunctionGetEntriesLauncher
(ctx context.Context)
ct/getEntriesLauncher.go:30
↓ 1 callersFunctionGetSTHs
()
ct/getSTH.go:64
↓ 1 callersFunctionInitLogger
(isDevelopment bool, samplingInitial int, samplingThereafter int)
logger/logger.go:15
↓ 1 callersFunctionLogConfigSyncer
(ctx context.Context)
ct/logConfigSyncer.go:18
↓ 1 callersFunctionLogRequest
(ctx *fasthttp.RequestCtx)
logger/logger.go:46
↓ 1 callersFunctionNewEntriesWriter
(ctx context.Context)
certwatch/newEntriesWriter.go:43
↓ 1 callersFunctionRun
()
server/server.go:36
↓ 1 callersFunctionShutdown
()
server/server.go:52
↓ 1 callersFunctionUpdateLogList
(newctlog map[int]*Log)
ct/logList.go:53
↓ 1 callersFunctionbuildInfo
(ctx *fasthttp.RequestCtx)
server/buildInfo.go:16
↓ 1 callersMethodcallRFC6962GetEntries
()
ct/rfc6962GetEntries.go:21
↓ 1 callersMethodcallStaticGetEntries
()
ct/staticGetEntries.go:24
↓ 1 callersFunctionconfigInfo
(ctx *fasthttp.RequestCtx)
server/configInfo.go:16
↓ 1 callersFunctiondetermineTileDataURL
(logURL string, start, end int64, forceFullTile bool)
ct/staticGetEntries.go:160
↓ 1 callersFunctionflushBatch
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 callersFunctiongetChainCertificate
(logUrl string, sha256ChainCert [32]byte)
ct/staticGetEntries.go:272
↓ 1 callersFunctiongetFastHTTPMetrics
()
server/metrics.go:55
↓ 1 callersFunctiongetSTH
(i int)
ct/getSTH.go:90
↓ 1 callersFunctionhealthz
(ctx *fasthttp.RequestCtx)
server/healthz.go:13
↓ 1 callersFunctioninitFastHTTPMetrics
()
server/metrics.go:35
↓ 1 callersFunctioninitViper
()
config/config.go:112
↓ 1 callersFunctionlaunchGetEntries
(ctx context.Context)
ct/getEntriesLauncher.go:50
↓ 1 callersFunctionmetrics
(ctx *fasthttp.RequestCtx)
server/metrics.go:21
↓ 1 callersMethodprocessNewRFC6962Entries
(logURL string, body []byte, start int64, processedEntries *[]msg.NewLogEntry)
ct/rfc6962GetEntries.go:148
↓ 1 callersMethodprocessNewStaticEntries
(logURL string, body []byte, start, end, tileStart int64, processedEntries *[]msg.NewLogEntry)
ct/staticGetEntries.go:180
↓ 1 callersFunctionprofilingHandler
(ctx *fasthttp.RequestCtx)
server/pprof.go:37
↓ 1 callersFunctionregisterPProf
(h func(string, func(http.ResponseWriter, *http.Request)))
server/pprof.go:23
↓ 1 callersFunctionsyncLogConfig
()
ct/logConfigSyncer.go:34
↓ 1 callersFunctionwriteCtLogEntries
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
Functioninit
()
ct/getSTH.go:29
Functioninit
()
ct/logList.go:49
Functioninit
()
msg/messages.go:27
Functioninit
()
server/metrics.go:15
Functioninit
()
server/pprof.go:17
Functioninit
()
certwatch/connections.go:31
Functioninit
()
certwatch/cachedIssuer.go:23
Functioninit
()
config/config.go:56
Functionmain
()
main.go:33
FunctionmonitoringHandler
(ctx *fasthttp.RequestCtx)
server/server.go:17