server

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, in io.Reader, out io.Writer) error

Types

type Server

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

func (*Server) Cancel

func (s *Server) Cancel(_ context.Context, params acpsdk.CancelNotification) error

func (*Server) CloseSession

func (*Server) Confirm added in v0.10.3

func (s *Server) Confirm(ctx context.Context, message string) (bool, error)

func (*Server) Elicit added in v0.10.3

func (s *Server) Elicit(ctx context.Context, req tool.ElicitRequest) (tool.ElicitResult, error)

func (*Server) Initialize

func (*Server) ListSessions

func (*Server) LoadSession

func (*Server) Logout added in v0.8.5

func (*Server) NewSession

func (*Server) Prompt

func (*Server) ResumeSession

func (*Server) SetSessionMode

Jump to

Keyboard shortcuts

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