e2b

package
v0.7.23 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const PathPrefix = "/e2b"

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(mux *http.ServeMux, d Deps)

RegisterRoutes mounts the supported E2B control-plane compatibility surface.

func WriteError

func WriteError(w http.ResponseWriter, status int, message string)

WriteError writes the E2B error envelope shape expected by the SDK.

Types

type Deps

type Deps struct {
	Service *service.Service
	Logger  *slog.Logger
	Auth    func(http.Handler) http.Handler
}

Deps are the shared dependencies the E2B facade needs from the top-level API package.

Jump to

Keyboard shortcuts

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