objectv1

package
Version: v0.0.0-...-3b7be81 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayOfObjectData

type ArrayOfObjectData []models.Object

type ObjectDataResult

type ObjectDataResult httpsrv.ResultAnsw

type ObjectV1

type ObjectV1 struct {
	// contains filtered or unexported fields
}

func NewObjectV1

func NewObjectV1(ctx *context.Context, orm *orm.ORM, userV1 *userv1.UserV1) (*ObjectV1, error)

func (*ObjectV1) CreateObject

func (o *ObjectV1) CreateObject(request *models.Object) (*models.Object, error)

func (*ObjectV1) GetObjectByID

func (o *ObjectV1) GetObjectByID(id int64) (data *models.Object, err error)

func (*ObjectV1) HardDeleteObjectByID

func (u *ObjectV1) HardDeleteObjectByID(id int64) (err error)

func (*ObjectV1) ObjecSearchGetHandler

func (o *ObjectV1) ObjecSearchGetHandler(ec echo.Context) (err error)

func (*ObjectV1) ObjectDeleteHandler

func (o *ObjectV1) ObjectDeleteHandler(ec echo.Context) (err error)

func (*ObjectV1) ObjectGetHandler

func (o *ObjectV1) ObjectGetHandler(ec echo.Context) (err error)

func (ObjectV1) ObjectPostHandler

func (o ObjectV1) ObjectPostHandler(ec echo.Context) (err error)

func (*ObjectV1) ObjectPutHandler

func (o *ObjectV1) ObjectPutHandler(ec echo.Context) (err error)

func (*ObjectV1) SearchObjectByName

func (o *ObjectV1) SearchObjectByName(value *models.Search) (data *ArrayOfObjectData, err error)

func (*ObjectV1) SoftDeleteObjectByID

func (u *ObjectV1) SoftDeleteObjectByID(id int64) (err error)

func (*ObjectV1) UpdateObjectByID

func (u *ObjectV1) UpdateObjectByID(id int64, patch *[]byte) (writeData *models.Object, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL