_JobID

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Overview

generated version: unknown

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPutJobController

type IPutJobController interface {
	PutJob(c echo.Context, req *PutJobRequest) (res *PutJobResponse, err error)
}

IPutJobController ...

type PutJobController

type PutJobController struct {
	*props.ControllerProps
}

PutJobController ...

func NewPutJobController

func NewPutJobController(props *props.ControllerProps) *PutJobController

NewPutJobController ...

func (*PutJobController) PutJob

func (p *PutJobController) PutJob(
	c echo.Context, req *PutJobRequest,
) (res *PutJobResponse, err error)

PutJob ... @Summary WIP @Description WIP @Accept json @Produce json @Param userID path string WIP:${isRequire} WIP:${description} @Param JobID path string WIP:${isRequire} WIP:${description} @Success 200 {object} PutJobResponse @Failure 400 {object} WIP @Router /service/user2/{userID}/{JobID}/job [PUT]

type PutJobRequest

type PutJobRequest struct {
	UserID string `param:"userID"`
	JobID  string
}

type PutJobResponse

type PutJobResponse struct {
	UserID string
	JobID  string
}

type Routes

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

Routes ...

func NewRoutes

func NewRoutes(p *props.ControllerProps, router *echo.Group) *Routes

NewRoutes ...

func (*Routes) PutJob

func (r *Routes) PutJob(p *props.ControllerProps) echo.HandlerFunc

PutJob ...

Jump to

Keyboard shortcuts

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