package
0.0.0-20240712073055-a5060b6e0cdc
Repository: https://github.com/mio256/thirdbook.git
Documentation: pkg.go.dev
# Functions
LabelerFromContext retrieves the Labeler from the provided context, if present.
NewClient initializes new Client defined by OAS.
NewOptBookingStatus returns new OptBookingStatus with value set to v.
NewOptDateTime returns new OptDateTime with value set to v.
NewOptInt64 returns new OptInt64 with value set to v.
NewOptString returns new OptString with value set to v.
NewServer creates new Server.
WithClient specifies http client to use.
WithErrorHandler specifies error handler to use.
WithMaxMultipartMemory specifies limit of memory for storing file parts.
WithMeterProvider specifies a meter provider to use for creating a meter.
WithMethodNotAllowed specifies Method Not Allowed handler to use.
WithMiddleware specifies middlewares to use.
WithNotFound specifies Not Found handler to use.
WithPathPrefix specifies server path prefix.
WithServerURL sets context key to override server URL.
WithTracerProvider specifies a tracer provider to use for creating a tracer.
# Structs
Ref: #/components/schemas/AuthToken.
No description provided by the author
Ref: #/components/schemas/Booking.
BookingsBookingIDGetNotFound is response for BookingsBookingIDGet operation.
BookingsBookingIDGetParams is parameters of GET /bookings/{bookingID} operation.
BookingsBookingIDPutNotFound is response for BookingsBookingIDPut operation.
BookingsBookingIDPutParams is parameters of PUT /bookings/{bookingID} operation.
BookingsGetParams is parameters of GET /bookings operation.
Ref: #/components/schemas/BookingStatus.
Client implements OAS client.
Represents error object.
ErrorStatusCode wraps Error with StatusCode.
Labeler is used to allow adding custom attributes to the server request metrics.
Ref: #/components/schemas/LoginUser.
Ref: #/components/schemas/NewBooking.
Ref: #/components/schemas/NewUser.
OptBookingStatus is optional BookingStatus.
OptDateTime is optional time.Time.
OptInt64 is optional int64.
OptString is optional string.
No description provided by the author
Route is route object.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
Ref: #/components/schemas/User.
UsersLoginPostUnauthorized is response for UsersLoginPost operation.
UsersUserIDDeleteNoContent is response for UsersUserIDDelete operation.
UsersUserIDDeleteNotFound is response for UsersUserIDDelete operation.
UsersUserIDDeleteParams is parameters of DELETE /users/{userID} operation.
UsersUserIDGetNotFound is response for UsersUserIDGet operation.
UsersUserIDGetParams is parameters of GET /users/{userID} operation.
# Interfaces
No description provided by the author
No description provided by the author
ClientOption is client config option.
Handler handles operations described by OpenAPI v3 specification.
Invoker invokes operations described by OpenAPI v3 specification.
Option is config option.
SecurityHandler is handler for security parameters.
SecuritySource is provider of security values (tokens, passwords, etc.).
ServerOption is server config option.
No description provided by the author
No description provided by the author
No description provided by the author