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

Method GetAuthorizedChats

coderd/database/modelqueries.go:746–746  ·  view source on GitHub ↗
(ctx context.Context, arg GetChatsParams, prepared rbac.PreparedAuthorized)

Source from the content-addressed store, hash-verified

744
745type chatQuerier interface {
746 GetAuthorizedChats(ctx context.Context, arg GetChatsParams, prepared rbac.PreparedAuthorized) ([]GetChatsRow, error)
747 GetAuthorizedChatsByChatFileID(ctx context.Context, fileID uuid.UUID, prepared rbac.PreparedAuthorized) ([]Chat, error)
748}
749

Callers 6

TestGetAuthorizedChatsFunction · 0.65
GetAuthorizedChatsMethod · 0.65
GetChatsMethod · 0.65
TestChatsMethod · 0.65

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

Tested by 4

TestGetAuthorizedChatsFunction · 0.52
TestChatsMethod · 0.52