scene

package
v0.0.0-...-ebedddc Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrQuerySceneParamsCode = iota + 10030
	ErrQuerySceneCode
	ErrCreateSceneCode
	ErrListSceneCode
	ErrDataNotExistsCode
	ErrUpdateSceneCode
	ErrDeleteSceneCode
)

Variables

View Source
var (
	ErrQuerySceneParams = exception.Err("invalid sceneId")
	ErrQueryScene       = exception.Err("query scene failed")
	ErrCreateScene      = exception.Err("create scene failed")
	ErrListScene        = exception.Err("list scene failed")
	ErrDataNotExists    = exception.Err("data not exists")
	ErrUpdateScene      = exception.Err("update scene failed")
	ErrDeleteScene      = exception.Err("delete scene failed")
)

Functions

func CreateScene

func CreateScene(ctx *gin.Context) (any, error)

func DeleteScene

func DeleteScene(ctx *gin.Context) (any, error)

func ListScene

func ListScene(ctx *gin.Context) (any, error)

func QueryScene

func QueryScene(ctx *gin.Context) (any, error)

func UpdateScene

func UpdateScene(ctx *gin.Context) (any, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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