Documentation
¶
Overview ¶
Package simple contains a simple Study lister implementation, made for basic testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StudyManager ¶
type StudyManager struct {
// contains filtered or unexported fields
}
StudyManager talks to the study catalog.
func New ¶
func New( ctx context.Context, client dspclient.ClientServiceClient, studyCatalogBaseUri string, redisClient *redis.Client, ) *StudyManager
func (*StudyManager) ListStudies ¶
ListStudies returns all studies.
func (*StudyManager) ListStudyFiles ¶
func (sm *StudyManager) ListStudyFiles(ctx context.Context, studyID uuid.UUID) ([]types.ProviderFile, error)
ListStudyFiles returns a list of all files the user has that matches the data wanted by the specific study.
Click to show internal directories.
Click to hide internal directories.