MCPcopy Create free account
hub / github.com/astercloud/aster / NewMemoryHandler

Function NewMemoryHandler

server/handlers/memory.go:60–62  ·  view source on GitHub ↗

NewMemoryHandler creates a new MemoryHandler

(st store.Store)

Source from the content-addressed store, hash-verified

58
59// NewMemoryHandler creates a new MemoryHandler
60func NewMemoryHandler(st store.Store) *MemoryHandler {
61 return &MemoryHandler{store: &st}
62}
63
64// CreateWorkingMemory creates working memory
65func (h *MemoryHandler) CreateWorkingMemory(c *gin.Context) {

Callers 1

registerMemoryRoutesMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected