Documentation ¶
Index ¶
- type ThingService
- func (s ThingService) CreateThing(ctx context.Context, input model.NewThing, uid int64) (*model.Thing, error)
- func (s ThingService) ListThing(ctx context.Context, searchParam *base.SearchParam, uid uint, scheme string) (int64, []*model.Thing, error)
- func (s ThingService) ThingAnalyze(ctx context.Context, dimension, index string, start *int64, group string, ...) (*model.PieLineSerieData, error)
- func (s ThingService) ThingSeries(ctx context.Context, dimension, index string, start *int64, end *int64, ...) ([]*model.SerieData, error)
- func (s ThingService) UpdateThing(ctx context.Context, input model.NewUpdateThing, uid uint) (*model.Thing, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThingService ¶
ThingService ..
func (ThingService) CreateThing ¶
func (s ThingService) CreateThing(ctx context.Context, input model.NewThing, uid int64) (*model.Thing, error)
CreateThing ..
func (ThingService) ListThing ¶
func (s ThingService) ListThing(ctx context.Context, searchParam *base.SearchParam, uid uint, scheme string) (int64, []*model.Thing, error)
ListThing ..
func (ThingService) ThingAnalyze ¶
func (s ThingService) ThingAnalyze(ctx context.Context, dimension, index string, start *int64, group string, uid int64) (*model.PieLineSerieData, error)
ThingAnalyze 物品分析
func (ThingService) ThingSeries ¶
func (s ThingService) ThingSeries(ctx context.Context, dimension, index string, start *int64, end *int64, status []int64, uid int64) ([]*model.SerieData, error)
ThingSeries 获取物品数据
func (ThingService) UpdateThing ¶
func (s ThingService) UpdateThing(ctx context.Context, input model.NewUpdateThing, uid uint) (*model.Thing, error)
UpdateThing ..
Click to show internal directories.
Click to hide internal directories.