Documentation
¶
Overview ¶
Package runmode provides execution mode signaling via context. It allows business logic to branch based on whether the application is running as a CLI, API server, or MCP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mode ¶
type Mode uint8
Mode represents the execution mode of the application.
func FromContext ¶
FromContext retrieves the Mode from the context. Returns CLI as the default if no mode is present.
Click to show internal directories.
Click to hide internal directories.