appruntime

package
v2.0.0-beta.15 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MPL-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package appruntime provides internal functionality for use by Encore to run Encore applications. Packages within this directory are intended exclusively for use by the Encore compiler and by the API framework module (encore.dev), which layers endpoints, auth handlers and middleware on top of this SDK. They should not be called directly from Encore applications. The APIs can change at any time.

This tree deliberately sits outside internal/: Go's internal rule is module-path-based, so encore.dev — a separate module — could not reach it otherwise. The naming mirrors encore.dev/appruntime, whose packages serve the same "semi-public plumbing" role.

Directories

Path Synopsis
Package clients sends the calls of the service clients Encore generates, which fail with a *services.CallError and take services.CallOption values and services.ClientSettings: see sdk.encore.dev/v2/services.
Package clients sends the calls of the service clients Encore generates, which fail with a *services.CallError and take services.CallOption values and services.ClientSettings: see sdk.encore.dev/v2/services.
exported
stack
Package stack collects stack traces.
Package stack collects stack traces.
infrasdk
sdkcore
Package sdkcore links the Encore SDK core Rust library (crates/encore_sdk_core) over its C ABI and exposes its infrastructure integrations — secrets, SQL, Pub/Sub, object storage, and metrics — to the Go SDK.
Package sdkcore links the Encore SDK core Rust library (crates/encore_sdk_core) over its C ABI and exposes its infrastructure integrations — secrets, SQL, Pub/Sub, object storage, and metrics — to the Go SDK.
shared
appconf
Package appconf answers whether the process runs under Encore.
Package appconf answers whether the process runs under Encore.
cloud
Package cloud contains some helpers for referring to different cloud implementations
Package cloud contains some helpers for referring to different cloud implementations
drain
Package drain holds the app's shutdown drains, registered with sdk.encore.dev/v2/shutdown.OnShutdown and run when the shutdown begins.
Package drain holds the app's shutdown drains, registered with sdk.encore.dev/v2/shutdown.OnShutdown and run when the shutdown begins.
serverspan
Package serverspan is how the handlers a request reaches tell the server span Encore started for it, as encore.Serve does for every request, what they know of it: the route it matched, and whether it is sensitive.
Package serverspan is how the handlers a request reaches tell the server span Encore started for it, as encore.Serve does for every request, what they know of it: the route it matched, and whether it is sensitive.

Jump to

Keyboard shortcuts

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