services

package
v0.0.0-...-9b663ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ThingService

type ThingService struct {
	base.Service
}

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 ..

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL