package
0.0.0-20241119031517-d78a05f52a91
Repository: https://github.com/muly/golang.git
Documentation: pkg.go.dev
# Functions
NewGetStudentByID creates a new http.Handler for the get student by ID operation.
NewGetStudentByIDOK creates GetStudentByIDOK with default headers values.
NewGetStudentByIDParams creates a new GetStudentByIDParams object
There are no default values defined in the spec.
NewGetStudents creates a new http.Handler for the get students operation.
NewGetStudentsOK creates GetStudentsOK with default headers values.
NewGetStudentsParams creates a new GetStudentsParams object
There are no default values defined in the spec.
NewHelloAPI creates a new Hello instance.
# Constants
GetStudentByIDOKCode is the HTTP code returned for type GetStudentByIDOK.
GetStudentsOKCode is the HTTP code returned for type GetStudentsOK.
# Structs
GetStudentByID swagger:route GET /api/students/{id} getStudentById
GetStudentByID get student by ID API
*/.
GetStudentByIDOK returns the details of a student
swagger:response getStudentByIdOK
*/.
GetStudentByIDParams contains all the bound params for the get student by ID operation typically these are obtained from a http.Request
swagger:parameters getStudentByID.
GetStudentByIDURL generates an URL for the get student by ID operation.
GetStudents swagger:route GET /api/students getStudents
GetStudents get students API
*/.
GetStudentsOK returns the list of students
swagger:response getStudentsOK
*/.
GetStudentsOKBodyItems0 get students o k body items0
swagger:model GetStudentsOKBodyItems0.
GetStudentsParams contains all the bound params for the get students operation typically these are obtained from a http.Request
swagger:parameters getStudents.
GetStudentsURL generates an URL for the get students operation.
HelloAPI the hello API */.
# Interfaces
GetStudentByIDHandler interface for that can handle valid get student by ID params.
GetStudentsHandler interface for that can handle valid get students params.
# Type aliases
GetStudentByIDHandlerFunc turns a function with the right signature into a get student by ID handler.
GetStudentsHandlerFunc turns a function with the right signature into a get students handler.