Documentation ¶
Index ¶
- type Things
- func (ts Things) Create(ctx context.Context, t model.Thing) error
- func (ts Things) GetByName(ctx context.Context, id string) (model.Thing, error)
- func (ts Things) GetByProjectID(ctx context.Context, pid string) ([]model.Thing, error)
- func (ts Things) Remove(ctx context.Context, id string) error
- func (ts Things) Update(ctx context.Context, id string, m *string, s *bool) (model.Thing, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Things ¶
Things stores and retrieves things collection
func (Things) GetByProjectID ¶
GetByProjectID returns all things that are associated with given project identification
Click to show internal directories.
Click to hide internal directories.