services

package
v2.1.1928-0...-8d73978 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 10 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) 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) EchoFormData

func (service *EchoService) EchoFormData(intParam int, longParam int64, floatParam float32, doubleParam float64, decimalParam decimal.Decimal, boolParam bool, stringParam string, stringOptParam *string, stringDefaultedParam string, stringArrayParam []string, uuidParam uuid.UUID, dateParam civil.Date, dateArrayParam []civil.Date, datetimeParam civil.DateTime, enumParam models.Choice) (*models.FormParameters, error)

func (*EchoService) EchoFormUrlencoded

func (service *EchoService) EchoFormUrlencoded(intParam int, longParam int64, floatParam float32, doubleParam float64, decimalParam decimal.Decimal, boolParam bool, stringParam string, stringOptParam *string, stringDefaultedParam string, stringArrayParam []string, uuidParam uuid.UUID, dateParam civil.Date, dateArrayParam []civil.Date, datetimeParam civil.DateTime, enumParam models.Choice) (*models.FormParameters, 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) 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