session

package
v0.7.45 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IDFromCtx

func IDFromCtx(ctx context.Context) string

IDFromCtx returns the Claude session ID stored in ctx, or "" if not set.

func WithID

func WithID(ctx context.Context, id string) context.Context

WithID returns a new context carrying the given Claude session ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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