Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sipcapture/homer
/ functions
Functions
4,264 in github.com/sipcapture/homer
⨍
Functions
4,264
◇
Types & classes
750
↓ 3 callers
Method
runCompaction
runCompaction performs a single compaction cycle. Instead of holding the catalog lock for the entire cycle (which can take minutes and block flush + q
src/writer/compaction.go:401
↓ 3 callers
Function
runtimeKeepalivePop
()
src/ui/public/game/websockets-doom.js:4494
↓ 3 callers
Function
runtimeKeepalivePush
()
src/ui/public/game/websockets-doom.js:4399
↓ 3 callers
Function
safeSlice
(s string, lo, hi int)
src/coordinator/correlation_seed_test.go:298
↓ 3 callers
Function
scanAllSQLRows
(rows *sql.Rows)
src/node/node.go:365
↓ 3 callers
Method
scanRowsToMaps
scanRowsToMaps converts sql.Rows to []map[string]interface{}
src/storage/ducklake/tiered_query.go:307
↓ 3 callers
Function
scanUserRow
scanUserRow converts a single row to User struct.
src/coordinator/services/user_service.go:291
↓ 3 callers
Function
scanUserSettingRows
(rows *sql.Rows)
src/coordinator/services/user_settings_service.go:243
↓ 3 callers
Function
scriptKey
scriptKey builds the canonical "<hepid>_<profile>" cache key. The profile is lowercased for case-insensitive lookup (handlers pass "call", migrations
src/scripting/correlation/engine.go:226
↓ 3 callers
Function
secretProvider
secretProvider executes the CREATE SECRET produced by buildS3SecretSQL on a real DuckDB and returns the provider recorded in duckdb_secrets(). It skip
src/storage/ducklake/tiered_storage_test.go:24
↓ 3 callers
Method
sendBatch
(data []byte)
src/remotelog/lineproto.go:128
↓ 3 callers
Method
sendBulk
(packets []*decoder.HEP)
src/remotelog/elasticsearch.go:134
↓ 3 callers
Method
serveUDP
serveUDP starts a high-performance UDP server using gnet
src/server/udp.go:161
↓ 3 callers
Method
sessionCookieName
()
src/coordinator/handlers/auth_session_cookie.go:26
↓ 3 callers
Function
setErrNo
(value)
src/ui/public/game/websockets-doom.js:1624
↓ 3 callers
Function
setLetterbox
(element, topBottom, leftRight)
src/ui/public/game/websockets-doom.js:5890
↓ 3 callers
Function
setValue
(ptr, value, type, noSafe)
src/ui/public/game/websockets-doom.js:363
↓ 3 callers
Function
sortByTimestampDesc
sortByTimestampDesc sorts results by timestamp column in descending order.
src/storage/ducklake/timetravel.go:538
↓ 3 callers
Function
sortRowsByTimestampDescLimit
sortRowsByTimestampDescLimit orders rows newest-first by their timestamp and trims to limit. Used to restore ordering after the "stream" strategy drop
src/node/node.go:618
↓ 3 callers
Function
splitCommaInt
(str string)
src/utils/metrics/sip_metrics.go:539
↓ 3 callers
Function
splitSearchTimeRange
splitSearchTimeRange slices [fromMs, toMs] into chunks of at most chunkMs, ordered newest-first. Unbounded or small ranges yield a single chunk.
src/coordinator/handlers/transactions_v4.go:565
↓ 3 callers
Function
sqlFormMatchClauseAny
sqlFormMatchClauseAny ORs the same value across multiple column expressions.
src/coordinator/handlers/transactions_v4.go:62
↓ 3 callers
Function
sqlFormMatchClauseOr
sqlFormMatchClauseOr applies sqlFormMatchClause across two columns (OR).
src/coordinator/handlers/transactions_v4.go:53
↓ 3 callers
Function
stringFromAttrMap
stringFromAttrMap is a small helper for surfacing standard OTel resource attributes (service.name, host.name, …) as first-class columns without re-dec
src/storage/ducklake/otlp_storage.go:536
↓ 3 callers
Function
tableNameFromFQN
(table string)
src/cli/system_cmd.go:21
↓ 3 callers
Function
toBoolValue
toBoolValue coerces whatever scalar the duckdb driver decides to hand back for an INTEGER/BOOLEAN-shaped column into a Go bool. History: previously o
src/coordinator/services/alias_service.go:361
↓ 3 callers
Function
tokenLooksLikeJWT
tokenLooksLikeJWT matches compact signed JWTs (header.payload.sig).
src/cli/api_client.go:77
↓ 3 callers
Function
toolResultJSON
(v any)
src/mcp/mcp.go:274
↓ 3 callers
Function
transportFromContentType
transportFromContentType maps the request Content-Type to one of the transport label values used in homer_otlp_* metrics.
src/otlpreceiver/http.go:123
↓ 3 callers
Method
tryBuildVolumeUnionSQL
tryBuildVolumeUnionSQL builds SELECT ... UNION ALL ... across configured volumes for execution on the TieredStorageManager DuckDB (hot + cold catalogs
src/node/node.go:1148
↓ 3 callers
Method
tryEnqueue
(signal string, job otlpJob)
src/otlpreceiver/sink/async_queue.go:101
↓ 3 callers
Method
tryLLMSQL
tryLLMSQL asks the LLM (when enabled) to translate queryText into a single DuckDB SELECT. The returned string is empty when the LLM is disabled or the
src/coordinator/handlers/mcp_llm.go:232
↓ 3 callers
Function
uint32Chunk
(t uint16, v uint32)
src/cli/migrate_hep.go:138
↓ 3 callers
Function
uint8Chunk
(t uint16, v byte)
src/cli/migrate_hep.go:136
↓ 3 callers
Method
waitForServerStopBool
(ch chan bool, name string)
src/server/server.go:277
↓ 3 callers
Function
withTimeZone
(opts: DateTimeFormatOptions, timeZone?: string)
src/ui/src/lib/datetime.ts:6
↓ 3 callers
Method
worker
()
src/server/server.go:302
↓ 3 callers
Function
writeI53ToI64
(ptr, num)
src/ui/public/game/websockets-doom.js:6477
↓ 3 callers
Method
writeResponse
writeResponse marshals resp using the same wire format as the request and writes a 200 OK. The OTLP spec requires the response to be the same content
src/otlpreceiver/http.go:193
↓ 3 callers
Function
zcFindURIBrackets
(val []byte)
src/sipparser/zerocopy.go:353
↓ 2 callers
Method
AddHEP
AddHEP adds a HEP packet to the table's ring buffer
src/flight/hep_table.go:203
↓ 2 callers
Method
AddHEP
AddHEP adds a HEP packet to the appropriate tables
src/flight/catalog.go:164
↓ 2 callers
Method
ArrowSchema
ArrowSchema returns the Arrow schema with optional column projection
src/flight/hep_table.go:83
↓ 2 callers
Method
CachedIPAliasMap
CachedIPAliasMap returns a shared IPAliasMap for hot paths (search enrich). Rebuilds from ListActive at most every ipMapTTL; errors return (nil, err).
src/coordinator/services/alias_service.go:80
↓ 2 callers
Method
CatalogLock
()
src/writer/compaction.go:139
↓ 2 callers
Method
ConnectAll
ConnectAll connects to all configured nodes. It retries a few times on startup to handle the case where the node module in the same process hasn't fin
src/coordinator/services/flight_service.go:78
↓ 2 callers
Method
CreateMapping
(ctx context.Context, mapping MappingSchema)
src/coordinator/services/mapping_service.go:151
↓ 2 callers
Method
CreateUser
CreateUser inserts a new user and returns the new ID
src/coordinator/services/user_service.go:192
↓ 2 callers
Function
Encode
Encode marshals the envelope to JSON. The error branch is unreachable for the fields we ship; kept for clarity at call sites.
src/coordinator/games/netchess/protocol.go:127
↓ 2 callers
Method
EnsureOTLPSchema
EnsureOTLPSchema creates otlp_traces / otlp_metrics inside the configured DuckLake catalog if they do not already exist. Safe to call concurrently — t
src/storage/ducklake/otlp_storage.go:140
↓ 2 callers
Function
EnsureWriterS3Secret
EnsureWriterS3Secret creates a session-scoped DuckDB TYPE S3 secret so DuckLake internals hit the same endpoint as ApplyDuckDBS3ClientSettings. Call a
src/storage/ducklake/tuning.go:109
↓ 2 callers
Function
ExtractFunctions
ExtractFunctions extracts function names from Lua code
src/scripting/scriptengine.go:97
↓ 2 callers
Function
FilterFromQuery
FilterFromQuery parses the subset of URL query parameters the HEP stream endpoint understands. It accepts: proto=1&proto=5 repeated OR-
src/stream/hepstream/filter.go:105
↓ 2 callers
Function
FilterKeys
FilterKeys returns only the keys specified in the comma-separated `fields` string. If keys is empty/nil, it derives them from items first. Only fields
src/cli/formatters.go:689
↓ 2 callers
Method
Flush
Flush is a synchronous convenience wrapper: swap buffers and wait for the flush goroutine to finish the job. Used during Stop().
src/storage/ducklake/tables.go:720
↓ 2 callers
Function
GarbageLinesFor
GarbageLinesFor implements the classic "n-1" Tetris garbage rule with a Tetris bonus: a 4-line clear sends 4 garbage rows (instead of the bare-bones 3
src/coordinator/games/netris/protocol.go:110
↓ 2 callers
Method
Get
(username string)
src/coordinator/handlers/auth_avatar_store.go:51
↓ 2 callers
Method
GetCallID
GetCallID returns Call-ID as string (lazy conversion)
src/sipparser/fast_parser.go:508
↓ 2 callers
Method
GetDashboard
(ctx context.Context, username, dashboardID string)
src/coordinator/services/dashboard_service.go:58
↓ 2 callers
Method
GetMethod
GetMethod returns method as string (lazy conversion)
src/sipparser/fast_parser.go:516
↓ 2 callers
Method
GetStats
GetStats returns connection statistics
src/coordinator/services/flight_service.go:342
↓ 2 callers
Method
GetStats
GetStats returns table statistics across all volumes
src/node/catalog.go:475
↓ 2 callers
Method
GetUserByID
GetUserByID retrieves a user by ID
src/coordinator/services/user_service.go:108
↓ 2 callers
Function
HasLimitToken
---- HasLimitToken --------------------------------------------------------- HasLimitToken checks if the SQL contains a LIMIT clause as a real token (
src/coordinator/sqlvalidator/validator.go:499
↓ 2 callers
Function
Hash
Hash returns a bcrypt hash for a new password.
src/passwordhash/password.go:18
↓ 2 callers
Function
InitLoggerSimple
InitLoggerSimple initializes slog with simple settings.
src/utils/logging/logging.go:212
↓ 2 callers
Method
Insert
Insert creates a new alert row (for integrations / POST API).
src/coordinator/services/alerts_service.go:87
↓ 2 callers
Method
Int63
()
src/decoder/hep.pb.go:399
↓ 2 callers
Function
IsInvalidTableKey
IsInvalidTableKey reports whether err is ErrInvalidTableKey (including wrapped).
src/storage/ducklake/validation.go:181
↓ 2 callers
Function
IsLimitableQuery
---- IsLimitableQuery ------------------------------------------------------ IsLimitableQuery returns true if the SQL query is of a type that accepts
src/coordinator/sqlvalidator/validator.go:476
↓ 2 callers
Method
IsRevoked
(sessionID string)
src/coordinator/handlers/auth_store.go:40
↓ 2 callers
Method
IsSet
()
src/cli/search_proto.go:108
↓ 2 callers
Method
JWTMiddleware
JWTMiddleware returns the JWT middleware function
src/coordinator/handlers/auth.go:298
↓ 2 callers
Function
JoinLakeDataPath
JoinLakeDataPath appends path elements to a lake data root. For s3:// and s3a:// bases it uses URL-style '/' joining only — do not use filepath.Join,
src/storage/ducklake/ducklake.go:127
↓ 2 callers
Method
JoinQuick
JoinQuick places a player into the quick-match queue. If a player is already waiting, the two are paired into a fresh `quick-N` room; otherwise the ca
src/coordinator/games/netchess/hub.go:230
↓ 2 callers
Method
JoinSpectator
JoinSpectator attaches a read-only listener to an existing room. Returns ErrRoomFull (overloaded — spec-cap reached) when the spectator quota is satur
src/coordinator/games/netchess/hub.go:268
↓ 2 callers
Function
LPProfileFor
LPProfileFor encodes (schema, table) into the profile string used by mapping_schema. The encoding survives a round-trip via SplitLPProfile so getTable
src/coordinator/services/lp_mapping_sync.go:434
↓ 2 callers
Method
ListProtoTypes
ListProtoTypes returns unique proto_types with tables
src/storage/ducklake/manager.go:224
↓ 2 callers
Method
ListSnapshots
ListSnapshots returns available snapshots for a TableKey (from primary shard)
src/storage/ducklake/manager.go:213
↓ 2 callers
Method
ListSnapshots
ListSnapshots returns snapshots for a specific table by TableKey
src/storage/ducklake/timetravel.go:562
↓ 2 callers
Method
ListenAndServe
(ctx context.Context)
src/siprecreceiver/server.go:93
↓ 2 callers
Method
MarshalTo
(dAtA []byte)
src/decoder/hep.pb.go:311
↓ 2 callers
Function
MergeCustomLokiLabelsIntoStream
MergeCustomLokiLabelsIntoStream adds validated custom labels; built-in keys on dst always win.
src/remotelog/loki_custom_labels.go:93
↓ 2 callers
Method
MovePartition
MovePartition moves a partition (date) from source to destination volume Note: DuckDB doesn't support transactions across multiple attached databases,
src/storage/ducklake/tiered_storage.go:328
↓ 2 callers
Method
Name
Name returns the catalog name
src/flight/catalog.go:40
↓ 2 callers
Function
NewAvatarStore
(ttl time.Duration)
src/coordinator/handlers/auth_avatar_store.go:25
↓ 2 callers
Function
NewClient
NewClient creates a new API client targeting the given coordinator host. host can be "host:port" or a full URL. TLS verification is skipped for self-s
src/cli/api_client.go:26
↓ 2 callers
Function
NewDuckLakeCatalog
NewDuckLakeCatalog creates a new DuckLake catalog with volume support
src/node/catalog.go:34
↓ 2 callers
Function
NewEngine
NewEngine creates a correlation engine. When cfg.Enable is false the returned engine is nil and callers should treat it as "no correlation". executor
src/scripting/correlation/engine.go:90
↓ 2 callers
Function
NewFlightServer
NewFlightServer creates a new Flight server for HEP data
src/flight/server.go:52
↓ 2 callers
Function
NewFlightService
NewFlightService creates a new FlightSQL service. queryTimeout controls the per-query timeout for data queries to nodes.
src/coordinator/services/flight_service.go:43
↓ 2 callers
Function
NewHEPCatalog
NewHEPCatalog creates a new HEP catalog
src/flight/catalog.go:26
↓ 2 callers
Function
NewLPMappingSyncService
NewLPMappingSyncService constructs the sync service. db is the coordinator's settings DuckDB (where mapping_schema lives), flight queries the data-pla
src/coordinator/services/lp_mapping_sync.go:68
↓ 2 callers
Function
NewLineProtoHandler
NewLineProtoHandler constructs the handler. flightService must not be nil; defaultPrefix is used when the client omits ?prefix= (mirrors ingest.line_p
src/coordinator/handlers/lineproto_v4.go:43
↓ 2 callers
Function
NewManager
NewManager creates a new DuckLake manager with multi-table support
src/storage/ducklake/manager.go:31
↓ 2 callers
Function
NewReader
NewReader creates a reader from an existing writer
src/storage/ducklake/timetravel.go:25
↓ 2 callers
Function
NewStatisticsHandler
(fs *services.FlightService)
src/coordinator/handlers/statistics_v4.go:24
↓ 2 callers
Function
OAuthAuthorizationCodeConfigured
OAuthAuthorizationCodeConfigured reports whether oauth2_provider is set up for the authorization code flow.
src/config/config.go:1049
↓ 2 callers
Function
OpenCatalog
OpenCatalog opens the DuckLake SQLite catalog for read/write. WAL mode and a generous busy_timeout let it coexist with DuckDB readers/writers that hol
src/storage/ducklake/compactor/catalog.go:83
↓ 2 callers
Function
ParseBody
ParseBody parses a VQ-RTCPXR document (line-oriented key: value format).
src/vqrtcpreceiver/parser.go:27
← previous
next →
801–900 of 4,264, ranked by callers