pkg/

directory
v0.9.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: MIT

Directories

Path Synopsis
components
cmd/framingo
Package framingo holds the framingo command's subcommands.
Package framingo holds the framingo command's subcommands.
middlewares
trace
Package trace is the server-span middleware; attach it first and enable it per server with a `trace` middleware config entry.
Package trace is the server-span middleware; attach it first and enable it per server with a `trace` middleware config entry.
services
db
db/drivers/clickhouse
Package clickhouse registers the ClickHouse driver with pkg/services/db; blank-import it.
Package clickhouse registers the ClickHouse driver with pkg/services/db; blank-import it.
db/drivers/mysql
Package mysql registers the MySQL driver with pkg/services/db; blank-import it.
Package mysql registers the MySQL driver with pkg/services/db; blank-import it.
db/drivers/postgres
Package postgres registers the Postgres driver with pkg/services/db; blank-import it.
Package postgres registers the Postgres driver with pkg/services/db; blank-import it.
db/drivers/sqlite
Package sqlite registers the SQLite driver (mattn/go-sqlite3) with pkg/services/db; blank-import it.
Package sqlite registers the SQLite driver (mattn/go-sqlite3) with pkg/services/db; blank-import it.
db/plugins/otelgorm
Package otelgorm traces GORM statements; a separate package because upstream imports the clickhouse, mysql and postgres dialectors.
Package otelgorm traces GORM statements; a separate package because upstream imports the clickhouse, mysql and postgres dialectors.
metrics/exporters/otlpgrpc
Package otlpgrpc registers metrics.OTLPGRPC when blank-imported, keeping grpc out of other binaries.
Package otlpgrpc registers metrics.OTLPGRPC when blank-imported, keeping grpc out of other binaries.
metrics/exporters/otlphttp
Package otlphttp registers metrics.OTLPHTTP when blank-imported.
Package otlphttp registers metrics.OTLPHTTP when blank-imported.
metrics/exporters/stdout
Package stdout registers metrics.Stdout when blank-imported, for local development.
Package stdout registers metrics.Stdout when blank-imported, for local development.
tracing/exporters/model
Package model is the tracing exporter factories' config vocabulary.
Package model is the tracing exporter factories' config vocabulary.
tracing/exporters/otlpgrpc
Package otlpgrpc registers tracing.OTLPGRPC when blank-imported, keeping grpc out of other binaries.
Package otlpgrpc registers tracing.OTLPGRPC when blank-imported, keeping grpc out of other binaries.
tracing/exporters/otlphttp
Package otlphttp registers tracing.OTLPHTTP when blank-imported.
Package otlphttp registers tracing.OTLPHTTP when blank-imported.
tracing/exporters/stdout
Package stdout registers tracing.Stdout when blank-imported, for local development.
Package stdout registers tracing.Stdout when blank-imported, for local development.
structs
trie
https://github.com/derekparker/trie/blob/v3/trie.go
https://github.com/derekparker/trie/blob/v3/trie.go
tools
docs
Package docs checks markdown against what it points at and what it copies: a relative link reaches a file, and its anchor a heading; a Go snippet marked with its source says what the source says.
Package docs checks markdown against what it points at and what it copies: a relative link reaches a file, and its anchor a heading; a Go snippet marked with its source says what the source says.
verify
Package verify gives one verdict on a change: format, build, vet, the framework's own analyzers, lint and tests, by the standard tools, for each module directory given.
Package verify gives one verdict on a change: format, build, vet, the framework's own analyzers, lint and tests, by the standard tools, for each module directory given.
vet
Package vet runs the analyzers that hold a project to the framework's design decisions, each in a subpackage named for its rule.
Package vet runs the analyzers that hold a project to the framework's design decisions, each in a subpackage named for its rule.
vet/confinit
Package confinit reports configuration read from the context outside Init: a service reads what it can reload in Init, which runs at start and on every restart, so a restart is the reload (design/config.md).
Package confinit reports configuration read from the context outside Init: a service reads what it can reload in Init, which runs at start and on every restart, so a restart is the reload (design/config.md).
vet/depslist
Package depslist reports a service that holds another service in a field and leaves it out of Dependencies, and a Dependencies that filters what it lists: the supervisor orders, gates and monitors by that list, so what is not in it starts in no particular order, and it skips a nil entry itself (design/service-wiring.md).
Package depslist reports a service that holds another service in a field and leaves it out of Dependencies, and a Dependencies that filters what it lists: the supervisor orders, gates and monitors by that list, so what is not in it starts in no particular order, and it skips a nil entry itself (design/service-wiring.md).
vet/directive
Package directive lets a line opt out of one analyzer, with its reason:
Package directive lets a line opt out of one analyzer, with its reason:
vet/gormfield
Package gormfield reports a *gorm.DB kept in a struct field outside the db service: a dependent keeps the database's handle and asks it each time, so a restart that replaces the pool is invisible to it (design/service-wiring.md).
Package gormfield reports a *gorm.DB kept in a struct field outside the db service: a dependent keeps the database's handle and asks it each time, so a restart that replaces the pool is invisible to it (design/service-wiring.md).
vet/optionclass
Package optionclass reports an option in an option.go with no class comment above it: construction, fixed at New, or reloadable, the default of a key every Init re-reads (design/config.md).
Package optionclass reports an option in an option.go with no class comment above it: construction, fixed at New, or reloadable, the default of a key every Init re-reads (design/config.md).
vet/platformfirst
Package platformfirst reports an app service whose New does not take the platform first: one constructor shape across the app, so a service that comes to need a handle changes neither its signature nor the wiring (design/service-wiring.md).
Package platformfirst reports an app service whose New does not take the platform first: one constructor shape across the app, so a service that comes to need a handle changes neither its signature nor the wiring (design/service-wiring.md).
vet/startctx
Package startctx reports a Start method that keeps its context: what a start runs lives until Stop, so it may keep the context's values but never its cancel or deadline (design/lifecycle.md).
Package startctx reports a Start method that keeps its context: what a start runs lives until Stop, so it may keep the context's values but never its cancel or deadline (design/lifecycle.md).
types
api
orm
utils
job
log
osutil
Package osutil queries the host OS; it holds no process-wide state.
Package osutil queries the host OS; it holds no process-wide state.
otelutil
Package otelutil is plumbing shared by the tracing and metrics services: exporter registry, otlp config, HTTP semconv helpers.
Package otelutil is plumbing shared by the tracing and metrics services: exporter registry, otlp config, HTTP semconv helpers.
paramutil
Package paramutil parses, renders and merges key=value params in several notations.
Package paramutil parses, renders and merges key=value params in several notations.
plans
Package plans holds the predefined plan kinds the plan manager runs.
Package plans holds the predefined plan kinds the plan manager runs.
syncutil
Package syncutil holds synchronization helpers the standard library lacks.
Package syncutil holds synchronization helpers the standard library lacks.
testutil
Package testutil holds test helpers and model doubles for framingo and apps built on it.
Package testutil holds test helpers and model doubles for framingo and apps built on it.
traceutil
Package traceutil adapts model.Tracer to plain OpenTelemetry interfaces.
Package traceutil adapts model.Tracer to plain OpenTelemetry interfaces.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL