scratchpad

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name                   = "scratchpad"
	EnvScratchpadURI       = "AGENTLY_SCRATCHPAD_URI"
	DefaultRootURITemplate = afsscratchpad.DefaultRootURITemplate
)

Variables

This section is empty.

Functions

func ResolveRootURI

func ResolveRootURI(ctx context.Context, template string) (string, string, error)

Types

type AppendInput

type AppendInput = afsscratchpad.AppendInput

type AppendOutput

type AppendOutput = afsscratchpad.AppendOutput

type Entry

type Entry = afsscratchpad.Entry

type FetchInput

type FetchInput = afsscratchpad.FetchInput

type FetchOutput

type FetchOutput = afsscratchpad.FetchOutput

type ListInput

type ListInput = afsscratchpad.ListInput

type ListOutput

type ListOutput = afsscratchpad.ListOutput

type MemorizeInput

type MemorizeInput = afsscratchpad.MemorizeInput

type MemorizeOutput

type MemorizeOutput = afsscratchpad.MemorizeOutput

type Option

type Option func(*Service)

func WithAFS

func WithAFS(fs afs.Service) Option

func WithNow

func WithNow(now func() time.Time) Option

func WithRootURI

func WithRootURI(template string) Option

type Service

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

func New

func New(opts ...Option) *Service

func (*Service) Method

func (s *Service) Method(name string) (svc.Executable, error)

func (*Service) Methods

func (s *Service) Methods() svc.Signatures

func (*Service) Name

func (s *Service) Name() string

Jump to

Keyboard shortcuts

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