contextx

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWorkspaceID

func GetWorkspaceID(ctx context.Context) string

func WithContext

func WithContext(ctx context.Context, v *Context) context.Context

Types

type Context

type Context struct {
	WorkspaceID   string
	WorkspaceName string
}

func FromContext

func FromContext(ctx context.Context) (*Context, bool)

Jump to

Keyboard shortcuts

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