local

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrStoreCorrupt       = errors.New("mcp token store is corrupt")
	ErrInvalidPermissions = errors.New("mcp token store permissions are invalid")
	ErrInvalidPath        = errors.New("mcp token store path is invalid")
)

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

func New

func New(path string) (*Store, error)

func (*Store) Delete

func (s *Store) Delete(ctx context.Context) error

func (*Store) Load

func (*Store) Save

func (s *Store) Save(ctx context.Context, state mcptoken.PersistedState) error

Jump to

Keyboard shortcuts

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