MCPcopy Index your code
hub / github.com/coder/coder / GetChatWorkspaceTTL

Method GetChatWorkspaceTTL

coderd/database/querier.go:439–439  ·  view source on GitHub ↗

Returns the global TTL for chat workspaces as a Go duration string. Returns "0s" (disabled) when no value has been configured.

(ctx context.Context)

Source from the content-addressed store, hash-verified

437 // Returns the global TTL for chat workspaces as a Go duration string.
438 // Returns "0s" (disabled) when no value has been configured.
439 GetChatWorkspaceTTL(ctx context.Context) (string, error)
440 GetChats(ctx context.Context, arg GetChatsParams) ([]GetChatsRow, error)
441 GetChatsByChatFileID(ctx context.Context, fileID uuid.UUID) ([]Chat, error)
442 GetChatsByWorkspaceIDs(ctx context.Context, ids []uuid.UUID) ([]Chat, error)

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls