Documentation ¶
Index ¶
- type Activity
- type Client
- func (c Client) AddActivity(ctx context.Context, activity Activity) (Activity, error)
- func (c Client) AddSubject(ctx context.Context, subject Subject) (Subject, error)
- func (c Client) GetActivities(ctx context.Context, assignedUserID string) (activities []Activity, err error)
- func (c Client) GetActivity(ctx context.Context, activityID string) (activity Activity, err error)
- func (c Client) GetSubject(ctx context.Context, subjectID string) (subject Subject, err error)
- func (c Client) GetSubjects(ctx context.Context) (subjects []Subject, err error)
- func (c Client) RemoveActivity(ctx context.Context, activityID string) error
- func (c Client) RemoveSubject(ctx context.Context, subjectID string) error
- type Subject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewDatabaseClient ¶
func (Client) AddActivity ¶
func (Client) AddSubject ¶
func (Client) GetActivities ¶
func (Client) GetActivity ¶
func (Client) GetSubject ¶
func (Client) GetSubjects ¶
func (Client) RemoveActivity ¶
Click to show internal directories.
Click to hide internal directories.