package
0.0.0-20250216174802-02b548cdb502
Repository: https://github.com/dannamer/backend-trainee-assignment-winter-2025.git
Documentation: pkg.go.dev

# Functions

LabelerFromContext retrieves the Labeler from the provided context, if present.
NewClient initializes new Client defined by OAS.
NewOptInfoResponseCoinHistory returns new OptInfoResponseCoinHistory with value set to v.
NewOptInt returns new OptInt 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.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

APIBuyItemGetOK is response for APIBuyItemGet operation.
APIBuyItemGetParams is parameters of GET /api/buy/{item} operation.
APISendCoinPostOK is response for APISendCoinPost operation.
Ref: #/components/schemas/AuthRequest.
Ref: #/components/schemas/AuthResponse.
No description provided by the author
Client implements OAS client.
Ref: #/components/schemas/ErrorResponse.
Ref: #/components/schemas/InfoResponse.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Labeler is used to allow adding custom attributes to the server request metrics.
OptInfoResponseCoinHistory is optional InfoResponseCoinHistory.
OptInt is optional int.
OptString is optional string.
Route is route object.
Ref: #/components/schemas/SendCoinRequest.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

# Interfaces

No description provided by the author
No description provided by the author
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.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrorHandler is error handler.
Middleware is middleware type.
OperationName is the ogen operation name.