Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Things ¶
type Things interface { SaveThing(ctx ctxt, thingModel *models.Thing) (*models.Thing, error) GetThing(ctx ctxt, thingId string) (*models.Thing, error) DeleteThing(ctx ctxt, thingId string) (string, error) UpdateThing(ctx ctxt, thingModel *models.Thing) (*models.Thing, error) UserOfThingOrAdmin(ctx ctxt, token string, thingId string) (string, error) UserOfThingOnly(ctx ctxt, token string, thingId string) (string, error) UserOnly(ctx ctxt, token string) (string, error) }
Click to show internal directories.
Click to hide internal directories.