package
1.3.0
Repository: https://github.com/ogen-go/ogen.git
Documentation: pkg.go.dev

# Functions

LabelerFromContext retrieves the Labeler from the provided context, if present.
NewClient initializes new Client defined by OAS.
NewOptEvent returns new OptEvent with value set to v.
NewOptString returns new OptString with value set to v.
NewServer creates new Server.
NewWebhookClient initializes new WebhookClient.
NewWebhookServer creates new WebhookServer.
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

Client implements OAS client.
Ref: #/components/schemas/Error.
ErrorStatusCode wraps Error with StatusCode.
Ref: #/components/schemas/Event.
Labeler is used to allow adding custom attributes to the server request metrics.
OptEvent is optional Event.
OptString is optional string.
Route is route object.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
No description provided by the author
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
UpdateDeleteOK is response for UpdateDelete operation.
UpdateWebhookParams is parameters of updateWebhook operation.
WebhookClient implements webhook client.
Ref: #/components/schemas/WebhookResponse.
WebhookServer implements http server based on OpenAPI v3 specification and calls WebhookHandler to handle requests.

# Interfaces

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.
ServerOption is server config option.
No description provided by the author
No description provided by the author
WebhookHandler handles webhooks described by OpenAPI v3 specification.

# Type aliases

ErrorHandler is error handler.
Middleware is middleware type.