MCPcopy
hub / github.com/hatchet-dev/hatchet / GetById

Method GetById

pkg/repository/user_session.go:41–41  ·  view source on GitHub ↗
(ctx context.Context, sessionId uuid.UUID)

Source from the content-addressed store, hash-verified

39 Update(ctx context.Context, sessionId uuid.UUID, opts *UpdateSessionOpts) (*sqlcv1.UserSession, error)
40 Delete(ctx context.Context, sessionId uuid.UUID) (*sqlcv1.UserSession, error)
41 GetById(ctx context.Context, sessionId uuid.UUID) (*sqlcv1.UserSession, error)
42
43 CleanupUserSessions(ctx context.Context) error
44}

Callers 2

saveMethod · 0.65
loadMethod · 0.65

Implementers 1

userSessionRepositorypkg/repository/user_session.go

Calls

no outgoing calls

Tested by

no test coverage detected