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
↓ 1 callers
Method
GetObject
GetObject returns the LuaObject indexed at the sequence of 'subfields'.
src/scripting/luar/luaobject.go:189
↓ 1 callers
Method
GetOldestPartitions
GetOldestPartitions returns the N oldest partitions from a table
src/storage/ducklake/tiered_storage.go:486
↓ 1 callers
Method
GetPartitionsOlderThan
GetPartitionsOlderThan returns distinct partition dates that should be tiered off the volume: those with date on or before cutoffDate (inclusive). Cal
src/storage/ducklake/tiered_storage.go:398
↓ 1 callers
Method
GetPayload
GetPayload handles GET /api/v1/payload/:uuid
src/coordinator/handlers/search.go:451
↓ 1 callers
Method
GetRowCountForTableKey
GetRowCountForTableKey returns row count for specific TableKey including buffers
src/storage/ducklake/timetravel.go:384
↓ 1 callers
Function
GetSIPMethod
GetSIPMethod returns the effective SIP method for routing For requests: returns FirstMethod For responses: returns CseqMethod (from CSeq header)
src/storage/ducklake/tables.go:75
↓ 1 callers
Method
GetStats
GetStats returns statistics about the catalog
src/flight/catalog.go:79
↓ 1 callers
Method
GetStats
GetStats returns statistics about the schema
src/flight/catalog.go:191
↓ 1 callers
Method
GetTableFQN
GetTableFQN returns the fully qualified table name for a TableKey
src/storage/ducklake/ducklake.go:810
↓ 1 callers
Method
GetTieredQueryDB
GetTieredQueryDB returns the TieredStorageManager DuckDB when multi-volume tiering is active, or nil. Used by the Node for merged search across hot+co
src/writer/writer.go:1025
↓ 1 callers
Method
GetTimeRange
GetTimeRange returns min/max timestamps for current data
src/storage/ducklake/timetravel.go:183
↓ 1 callers
Method
GetTimeRange
GetTimeRange returns min/max timestamps across all tables including buffers
src/storage/ducklake/timetravel.go:289
↓ 1 callers
Method
GetTimeRangeForTableKey
GetTimeRangeForTableKey returns time range for specific TableKey
src/storage/ducklake/manager.go:203
↓ 1 callers
Method
GetUserByEmail
GetUserByEmail retrieves a user by email (case-insensitive). Returns nil, error if not found.
src/coordinator/services/user_service.go:90
↓ 1 callers
Function
GetVersionString
GetVersionString returns a formatted version string
src/version.go:49
↓ 1 callers
Method
GetVolumeSize
GetVolumeSize returns the total size of data in a volume (in bytes)
src/storage/ducklake/tiered_storage.go:461
↓ 1 callers
Method
Has
(username string)
src/coordinator/handlers/auth_avatar_store.go:70
↓ 1 callers
Function
HasEmbeddedUI
HasEmbeddedUI returns true if UI is embedded
src/static.go:21
↓ 1 callers
Function
InsertColumnNamesForKey
InsertColumnNamesForKey returns the INSERT column order for a table key, derived from the canonical TableSchema InsertSQL in tables.go.
src/storage/ducklake/sql_lake_insert.go:73
↓ 1 callers
Function
IsClientInputError
IsClientInputError reports validation failures that should map to HTTP 400.
src/storage/ducklake/validation.go:186
↓ 1 callers
Method
IsRunning
IsRunning returns true if the node is running
src/node/node.go:1442
↓ 1 callers
Function
JWTSecretFilePath
JWTSecretFilePath returns the persisted JWT secret path beside settingsDBPath.
src/coordinator/services/jwt_secret.go:19
↓ 1 callers
Function
LakeTableFQN
LakeTableFQN returns qualified table name for INSERT (DuckLake layout).
src/storage/ducklake/sql_lake_insert.go:41
↓ 1 callers
Method
Leave
Leave is invoked by the WS handler when the connection closes. The hub cleans up the player's slot and notifies the opponent.
src/coordinator/games/netchess/hub.go:790
↓ 1 callers
Method
List
(ctx context.Context, filters ScriptsListFilters)
src/coordinator/services/scripts_service.go:51
↓ 1 callers
Method
ListActive
ListActive returns enabled aliases only (status = 1), ordered by alias. Used for IP→alias enrichment on transaction rows (matches homer-app GetAllActi
src/coordinator/services/alias_service.go:119
↓ 1 callers
Method
ListByUser
(ctx context.Context, username string)
src/coordinator/services/user_settings_service.go:47
↓ 1 callers
Method
ListTableKeys
ListTableKeys returns all TableKeys with tables
src/storage/ducklake/manager.go:219
↓ 1 callers
Method
ListTypes
(ctx context.Context, search string, limit int, sortExpr string)
src/coordinator/services/agent_subscription_service.go:94
↓ 1 callers
Method
ListUsersFiltered
ListUsersFiltered returns users with filtering and sorting
src/coordinator/services/user_service.go:124
↓ 1 callers
Method
LoadActiveCorrelation
(ctx context.Context)
src/scripting/correlation/engine.go:36
↓ 1 callers
Method
LoadToken
LoadToken reads a cached JWT token from ~/.homer_token.
src/cli/api_client.go:170
↓ 1 callers
Method
Login
Login authenticates against the coordinator and stores the JWT token.
src/cli/api_client.go:105
↓ 1 callers
Function
LokiCustomLabelAllowlist
LokiCustomLabelAllowlist builds a set from config (trimmed, non-empty keys).
src/remotelog/loki_custom_labels.go:41
↓ 1 callers
Method
LookupValidAPIAccessToken
LookupValidAPIAccessToken resolves a raw secret from the settings DuckDB auth_token table (same semantics as homer-app api_settings + Auth-Token heade
src/coordinator/services/auth_token_service.go:56
↓ 1 callers
Method
MemTableNames
MemTableNames returns both in-memory buffer table names (for UNION ALL queries).
src/storage/ducklake/tables.go:937
↓ 1 callers
Method
Model
Model returns the configured model name, with whitespace trimmed. Empty string means "not configured".
src/mcp/llm.go:119
↓ 1 callers
Method
Model
()
src/coordinator/games/chess/llm.go:26
↓ 1 callers
Method
Name
Name returns the table name
src/node/catalog.go:306
↓ 1 callers
Method
NeedsRebuild
NeedsRebuild reports whether the lightweight repair was insufficient and the operator should run `homer system --rebuild-catalog`.
src/storage/ducklake/repair.go:48
↓ 1 callers
Function
NewAuthHandlerWithUserService
NewAuthHandlerWithUserService creates auth handler with user service. authTokenSvc may be nil; api_settings.enable_token_access controls Auth-Token he
src/coordinator/handlers/auth.go:75
↓ 1 callers
Function
NewCompactionService
NewCompactionService creates a new compaction service. catalogLocker serializes catalog access with writer flush to prevent "database is locked". data
src/writer/compaction.go:189
↓ 1 callers
Function
NewDuckLakeSchema
NewDuckLakeSchema creates a new DuckLake schema with volume support
src/node/catalog.go:104
↓ 1 callers
Function
NewDuckLakeTable
NewDuckLakeTable creates a new DuckLake table with volume support
src/node/catalog.go:259
↓ 1 callers
Function
NewHEPSchema
NewHEPSchema creates a new HEP schema with default tables
src/flight/catalog.go:99
↓ 1 callers
Function
NewHTTPSServer
NewHTTPSServer creates a new HTTPS server
src/writer/https.go:30
↓ 1 callers
Function
NewHTTPSServer
NewHTTPSServer creates a new HTTPS server for HEP packet reception
src/server/https.go:56
↓ 1 callers
Function
NewHTTPServer
NewHTTPServer creates a new HTTP server
src/writer/http.go:27
↓ 1 callers
Function
NewHTTPServer
NewHTTPServer creates a new HTTP server for HEP packet reception
src/server/http.go:50
↓ 1 callers
Function
NewLuaEngine
NewLuaEngine creates a new Lua script engine
src/scripting/luaengine.go:32
↓ 1 callers
Function
NewMappingService
(db *sql.DB)
src/coordinator/services/mapping_service.go:52
↓ 1 callers
Function
NewModuleManager
()
src/main.go:221
↓ 1 callers
Function
NewModulesHandler
()
src/coordinator/handlers/system_v4.go:25
↓ 1 callers
Function
NewMultiTableAPI
NewMultiTableAPI creates a new multi-table DuckLake API handler
src/storage/ducklake/api.go:50
↓ 1 callers
Function
NewMultiTableAdapter
NewMultiTableAdapter creates a new multi-table HEP adapter
src/storage/ducklake/hep_adapter.go:121
↓ 1 callers
Function
NewNodesHandler
(nodes []NodeInfo)
src/coordinator/handlers/nodes_v4.go:37
↓ 1 callers
Function
NewOAuthStateStore
()
src/coordinator/handlers/oauth_state.go:25
↓ 1 callers
Function
NewOneTimeTokenStore
()
src/coordinator/handlers/auth_store.go:69
↓ 1 callers
Function
NewPCAPWriter
NewPCAPWriter creates a writer and writes the global PCAP header.
src/pcapwriter/writer.go:33
↓ 1 callers
Function
NewPlayer
NewPlayer constructs a Player with an outbox of the requested size. The handler is responsible for filling Username (from the JWT) and optionally Disp
src/coordinator/games/netchess/hub.go:135
↓ 1 callers
Function
NewScriptsService
(db *sql.DB)
src/coordinator/services/scripts_service.go:47
↓ 1 callers
Function
NewServer
NewServer builds the SIP listener stack.
src/vqrtcpreceiver/server.go:39
↓ 1 callers
Function
NewServer
NewServer creates the SIPREC signaling server.
src/siprecreceiver/server.go:54
↓ 1 callers
Function
NewSessionStore
()
src/coordinator/handlers/auth_store.go:25
↓ 1 callers
Function
NewShardedAdapter
NewShardedAdapter creates a new sharded HEP adapter
src/storage/ducklake/hep_adapter.go:140
↓ 1 callers
Function
NewShardedMultiTableReader
NewShardedMultiTableReader creates a reader that queries all shards.
src/storage/ducklake/sharded_reader.go:19
↓ 1 callers
Function
NewShardedWriter
NewShardedWriter creates N MultiTableWriter shards. Each shard gets its own catalog file (e.g. homer_catalog_0.sqlite, homer_catalog_1.sqlite) and lak
src/storage/ducklake/sharded_writer.go:32
↓ 1 callers
Function
NewTCPServer
NewTCPServer creates a new TCP server
src/writer/tcp.go:42
↓ 1 callers
Function
NewTLSServer
NewTLSServer creates a new TLS server
src/writer/tls.go:45
↓ 1 callers
Function
NewTableWriter
NewTableWriter creates a new table writer with a DuckLake table and two in-memory buffer tables (double-buffer). It also starts a dedicated flush goro
src/storage/ducklake/tables.go:490
↓ 1 callers
Function
NewTieringService
NewTieringService creates a new tiering service
src/writer/tiering.go:45
↓ 1 callers
Function
NewUDPServer
NewUDPServer creates a new UDP server
src/writer/udp.go:35
↓ 1 callers
Function
NewURI
NewURI is a convenience function that creates a *URI for you
src/sipparser/uri.go:67
↓ 1 callers
Function
NormalizeWidgetControl
NormalizeWidgetControl merges operator overrides onto defaults so API/UI always see a full map.
src/config/widgets.go:34
↓ 1 callers
Method
OTLPStorage
OTLPStorage returns the OTLP-table accessor wired against the primary shard. Returns nil when the manager has no shards (test stubs), which the receiv
src/storage/ducklake/otlp_storage.go:122
↓ 1 callers
Function
ParseMsgZeroCopyLegacy
ParseMsgZeroCopyLegacy is equivalent to ParseMsgZeroCopy(data, nil).
src/sipparser/zerocopy.go:83
↓ 1 callers
Method
PrimarySIPSessionID
()
src/siprecreceiver/metadata/metadata.go:101
↓ 1 callers
Method
ProcessRTCPPacket
ProcessRTCPPacket processes RTCP packet (ProtoType 5)
src/utils/metrics/sip_metrics.go:360
↓ 1 callers
Method
ProcessRTPAgentPacket
ProcessRTPAgentPacket processes RTPAgent packet (ProtoType 34)
src/utils/metrics/sip_metrics.go:381
↓ 1 callers
Method
ProcessSIPPacket
ProcessSIPPacket processes a SIP packet and records metrics
src/utils/metrics/sip_metrics.go:258
↓ 1 callers
Method
Put
(username string, data []byte, contentType string)
src/coordinator/handlers/auth_avatar_store.go:35
↓ 1 callers
Method
Query
Query executes a query on specific table by TableKey. Includes data from both in-memory buffers via UNION ALL so that un-flushed records are visible t
src/storage/ducklake/timetravel.go:447
↓ 1 callers
Method
Query
Query executes a query on a specific table across all volumes
src/storage/ducklake/tiered_query.go:42
↓ 1 callers
Method
QueryAll
QueryAll queries all tables across all shards
src/storage/ducklake/manager.go:234
↓ 1 callers
Method
QueryAtSnapshot
QueryAtSnapshot queries data at a specific snapshot
src/storage/ducklake/timetravel.go:51
↓ 1 callers
Method
QueryAtTime
QueryAtTime queries data as it was at a specific timestamp
src/storage/ducklake/timetravel.go:70
↓ 1 callers
Method
QueryNode
QueryNode executes a SQL query against a specific node
src/coordinator/services/flight_service.go:277
↓ 1 callers
Function
RandomHoleColumn
RandomHoleColumn picks a column index in [0, BoardCols) using the hub's RNG so both players see the same hole position for a given garbage burst (the
src/coordinator/games/netris/protocol.go:129
↓ 1 callers
Method
RawQuery
RawQuery executes a raw SQL query via the coordinator's /api/v4/query endpoint.
src/cli/api_client.go:346
↓ 1 callers
Function
ReleaseHEP
ReleaseHEP returns a decoded HEP and its SipMsg to their pools after the consumer (ingest worker, writer) is done with the packet. Safe to call with n
src/decoder/hep_pool.go:26
↓ 1 callers
Method
Reload
()
src/main.go:294
↓ 1 callers
Function
RowTime
RowTime parses a timestamp field from a map row. Accepts time.Time, string (RFC3339/RFC3339Nano), or numeric (unix seconds/ms/µs/ns).
src/pcapwriter/rows.go:96
↓ 1 callers
Function
RowTimeOptional
RowTimeOptional parses row[key] into UTC time. Missing or unparseable values return (_, false).
src/pcapwriter/rows.go:104
↓ 1 callers
Method
Run
Run starts the HTTP server
src/server/http.go:244
↓ 1 callers
Method
Run
Run starts the HTTPS server
src/server/https.go:475
↓ 1 callers
Function
RunMigrateHEP
RunMigrateHEP replays homer-app `hep_proto_*` rows as HEP3 packets to a homer-core node. The method preserves the original timestamp, capture metadata
src/cli/migrate_hep.go:277
↓ 1 callers
Function
RunMigrateSettings
RunMigrateSettings copies settings tables from a homer-app PostgreSQL database into the homer-core DuckDB settings file. Mapping (homer-app → homer-c
src/cli/migrate_settings.go:40
↓ 1 callers
Function
RunTUI
RunTUI starts the interactive TUI search application.
src/cli/tui.go:99
↓ 1 callers
Function
SafeString
SafeString sanitizes a user-supplied string value for safe interpolation into a SQL single-quoted string context. It escapes single quotes, strips nul
src/coordinator/sqlvalidator/validator.go:540
↓ 1 callers
Function
SanitiseChat
SanitiseChat clamps a chat message to MaxChatLen runes and drops control characters so the broadcast can't ship raw escape codes to opposing clients.
src/coordinator/games/netchess/protocol.go:166
← previous
next →
1,401–1,500 of 4,264, ranked by callers