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

Function NewSessionHandler

server/handlers/session.go:30–32  ·  view source on GitHub ↗

NewSessionHandler creates a new SessionHandler

(st store.Store)

Source from the content-addressed store, hash-verified

28
29// NewSessionHandler creates a new SessionHandler
30func NewSessionHandler(st store.Store) *SessionHandler {
31 return &SessionHandler{store: &st}
32}
33
34// Create creates a new session
35func (h *SessionHandler) Create(c *gin.Context) {

Callers 1

registerSessionRoutesMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected