resources

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = resolveVersion() //nolint:gochecknoglobals // set by ldflags or build info

Version is set at build time via ldflags (-X main.version), or falls back to debug.ReadBuildInfo, or "dev" for local builds.

Functions

func StatusHandler

func StatusHandler(
	cfg *config.Config, ops imap.Operations,
) func(ctx context.Context, req mcp.ReadResourceRequest) ([]mcp.ResourceContents, error)

StatusHandler returns the handler for the status resource.

func StatusResource

func StatusResource() mcp.Resource

StatusResource returns the email://status resource definition.

Types

This section is empty.

Jump to

Keyboard shortcuts

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