Help us shape the future of Go! Take the 2026 Go Developer Survey

outlinefn

package
v1.79.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package outlinefn is the Outline module's function (docs/decisions/0077): the workspaces' passes, on a schedule (`tick`) or when asked (`run`), and the console's Outline calls (`outline.console.*`). It registers itself with internal/lambdaapp; cmd/sluis-outline and the lambda build of cmd/sluis import it.

Index

Constants

View Source
const Kind = "outline"

Kind is the controller a workspace's event names: {"kind":"tick","controller":"outline","target":"<key>"}.

Variables

This section is empty.

Functions

func CheckFile

func CheckFile(file string) func(context.Context) (deploycheck.Report, error)

CheckFile is the {"kind":"check"} answer: the adapters a pass builds, built from the document and refused with the setting that is missing. Nothing it reaches mutates.

func Handler

func Handler(log *slog.Logger, declared func(target string) bool, open func(context.Context) (lambdaapp.Pass, error),
	check func(context.Context) (deploycheck.Report, error)) *lambdaapp.HTTP

Handler is the function's entry: tick and run events for the declared workspaces, one pass per invocation, and the {"kind":"check"} answer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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