services

package
v2.1.1928-0...-9c8038f Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create() spec.Services

Types

type CheckService

type CheckService struct{}

func (*CheckService) CheckBadRequest

func (service *CheckService) CheckBadRequest() (*check.CheckBadRequestResponse, error)

func (*CheckService) CheckConflict

func (service *CheckService) CheckConflict() (*check.CheckConflictResponse, error)

func (*CheckService) CheckEmpty

func (service *CheckService) CheckEmpty() error

func (*CheckService) CheckEmptyResponse

func (service *CheckService) CheckEmptyResponse(body *models.Message) error

func (*CheckService) CheckForbidden

func (service *CheckService) CheckForbidden() (*check.CheckForbiddenResponse, error)

func (*CheckService) SameOperationName

func (service *CheckService) SameOperationName() (*check.SameOperationNameResponse, error)

type EchoService

type EchoService struct{}

func (*EchoService) EchoBodyArray

func (service *EchoService) EchoBodyArray(body *[]string) (*[]string, error)

func (*EchoService) EchoBodyMap

func (service *EchoService) EchoBodyMap(body *map[string]string) (*map[string]string, error)

func (*EchoService) EchoBodyModel

func (service *EchoService) EchoBodyModel(body *models.Message) (*models.Message, error)

func (*EchoService) EchoBodyString

func (service *EchoService) EchoBodyString(body string) (*string, error)

func (*EchoService) EchoEverything

func (service *EchoService) EchoEverything(body *models.Message, floatQuery float32, boolQuery bool, uuidHeader uuid.UUID, datetimeHeader civil.DateTime, dateUrl civil.Date, decimalUrl decimal.Decimal) (*echo.EchoEverythingResponse, error)

func (*EchoService) EchoHeader

func (service *EchoService) EchoHeader(intHeader int, longHeader int64, floatHeader float32, doubleHeader float64, decimalHeader decimal.Decimal, boolHeader bool, stringHeader string, stringOptHeader *string, stringDefaultedHeader string, stringArrayHeader []string, uuidHeader uuid.UUID, dateHeader civil.Date, dateArrayHeader []civil.Date, datetimeHeader civil.DateTime, enumHeader models.Choice) (*models.Parameters, error)

func (*EchoService) EchoQuery

func (service *EchoService) EchoQuery(intQuery int, longQuery int64, floatQuery float32, doubleQuery float64, decimalQuery decimal.Decimal, boolQuery bool, stringQuery string, stringOptQuery *string, stringDefaultedQuery string, stringArrayQuery []string, uuidQuery uuid.UUID, dateQuery civil.Date, dateArrayQuery []civil.Date, datetimeQuery civil.DateTime, enumQuery models.Choice) (*models.Parameters, error)

func (*EchoService) EchoSuccess

func (service *EchoService) EchoSuccess(resultStatus string) (*echo.EchoSuccessResponse, error)

func (*EchoService) EchoUrlParams

func (service *EchoService) EchoUrlParams(intUrl int, longUrl int64, floatUrl float32, doubleUrl float64, decimalUrl decimal.Decimal, boolUrl bool, stringUrl string, uuidUrl uuid.UUID, dateUrl civil.Date, datetimeUrl civil.DateTime, enumUrl models.Choice) (*models.UrlParameters, error)

func (*EchoService) SameOperationName

func (service *EchoService) SameOperationName() (*echo.SameOperationNameResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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