MCPcopy Create free account
hub / github.com/diillson/chatcli / LoadSession

Method LoadSession

server/handler.go:80–80  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

78type SessionStore interface {
79 SaveSession(name string, history []models.Message) error
80 LoadSession(name string) ([]models.Message, error)
81 ListSessions() ([]string, error)
82 DeleteSession(name string) error
83}

Callers 4

LoadSessionMethod · 0.65
LoadSessionV2Method · 0.65
handleDeleteSessionMethod · 0.65
LoadSessionMethod · 0.65

Implementers 6

Clientclient/remote/remote_client.go
chatCLIServiceClientproto/chatcli/v1/chatcli_grpc.pb.go
UnimplementedChatCLIServiceServerproto/chatcli/v1/chatcli_grpc.pb.go
SessionManagercli/session_manager.go
Handlerserver/handler.go
mockSessionStoreserver/handler_test.go

Calls

no outgoing calls

Tested by

no test coverage detected