handler

package
v0.0.0-...-1920916 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

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

func New

func New(
	imageApp *imageapp.App,
	staffApp *staffapp.App,
	timeRecordApp *timerecordapp.App,
) *Handlers

func (*Handlers) AddThirdparty

func (h *Handlers) AddThirdparty(c *gin.Context)

AddThirdparty implements openapi.ServerInterface

func (*Handlers) AddTimerecord

func (h *Handlers) AddTimerecord(c *gin.Context)

AddTimerecord implements openapi.ServerInterface

func (*Handlers) CreateEmployee

func (h *Handlers) CreateEmployee(c *gin.Context)

CreateEmployee implements openapi.ServerInterface

func (*Handlers) DeleteEmployee

func (h *Handlers) DeleteEmployee(c *gin.Context, params openapi.DeleteEmployeeParams)

DeleteEmployee implements openapi.ServerInterface

func (*Handlers) DownloadImage

func (h *Handlers) DownloadImage(c *gin.Context, params openapi.DownloadImageParams)

DownloadImage implements openapi.ServerInterface

func (*Handlers) GetEmployee

func (h *Handlers) GetEmployee(c *gin.Context, params openapi.GetEmployeeParams)

GetEmployee implements openapi.ServerInterface

func (*Handlers) GetImageDescription

func (h *Handlers) GetImageDescription(c *gin.Context, params openapi.GetImageDescriptionParams)

GetImageDescription implements openapi.ServerInterface

func (*Handlers) LastTimerecordByEmploeeID

func (h *Handlers) LastTimerecordByEmploeeID(c *gin.Context, params openapi.LastTimerecordByEmploeeIDParams)

LastTimerecordByEmploeeID implements openapi.ServerInterface

func (*Handlers) ListEmployees

func (h *Handlers) ListEmployees(c *gin.Context)

ListEmployees implements openapi.ServerInterface

func (*Handlers) ListThirdparty

func (h *Handlers) ListThirdparty(c *gin.Context)

ListThirdparty implements openapi.ServerInterface

func (*Handlers) ListTimerecord

func (h *Handlers) ListTimerecord(c *gin.Context)

ListTimerecord implements openapi.ServerInterface

func (*Handlers) RecognizeEmployee

func (h *Handlers) RecognizeEmployee(c *gin.Context)

func (*Handlers) UpdateEmployee

func (h *Handlers) UpdateEmployee(c *gin.Context)

UpdateEmployee implements openapi.ServerInterface

func (*Handlers) UploadImage

func (h *Handlers) UploadImage(c *gin.Context)

UploadImage implements openapi.ServerInterface

Jump to

Keyboard shortcuts

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