profilev1

package
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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayOfProfileData

type ArrayOfProfileData []models.Profile

type ProfileDataResult

type ProfileDataResult httpsrv.ResultAnsw

type ProfileV1

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

func NewProfileV1

func NewProfileV1(ctx *context.Context, orm *orm.ORM, userV1 *userv1.UserV1) (*ProfileV1, error)

func (*ProfileV1) CreateProfile

func (o *ProfileV1) CreateProfile(request *models.Profile) (*models.Profile, error)

func (*ProfileV1) GetProfileByID

func (o *ProfileV1) GetProfileByID(id int64) (data *models.Profile, err error)

func (*ProfileV1) HardDeleteProfileByID

func (u *ProfileV1) HardDeleteProfileByID(id int64) (err error)

func (*ProfileV1) ProfileDeleteHandler

func (o *ProfileV1) ProfileDeleteHandler(ec echo.Context) (err error)

func (*ProfileV1) ProfileGetHandler

func (o *ProfileV1) ProfileGetHandler(ec echo.Context) (err error)

func (*ProfileV1) ProfilePostHandler

func (o *ProfileV1) ProfilePostHandler(ec echo.Context) (err error)

func (*ProfileV1) ProfilePutHandler

func (o *ProfileV1) ProfilePutHandler(ec echo.Context) (err error)

func (ProfileV1) ProfileSearchGetHandler

func (o ProfileV1) ProfileSearchGetHandler(ec echo.Context) (err error)

func (*ProfileV1) SearchProfileByLastName

func (p *ProfileV1) SearchProfileByLastName(value *models.Search) (data *ArrayOfProfileData, err error)

func (*ProfileV1) SignDataByID

func (o *ProfileV1) SignDataByID(id int64, data interface{}) (string, error)

func (*ProfileV1) SoftDeleteProfileByID

func (u *ProfileV1) SoftDeleteProfileByID(id int64) (err error)

func (*ProfileV1) UpdateProfileByID

func (u *ProfileV1) UpdateProfileByID(id int64, patch *[]byte) (writeData *models.Profile, err error)

Jump to

Keyboard shortcuts

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