package
0.0.0-20240328040556-cb249957641c
Repository: https://github.com/itimofeev/social-network.git
Documentation: pkg.go.dev

# Functions

NewClient initializes new Client defined by OAS.
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.

# Structs

Client implements OAS client.
Ref: #/components/schemas/DialogMessage.
DialogUserIDListGetParams is parameters of GET /dialog/{user_id}/list operation.
DialogUserIDSendPostOK is response for DialogUserIDSendPost operation.
DialogUserIDSendPostParams is parameters of POST /dialog/{user_id}/send operation.
No description provided by the author
OptInt is optional int.
OptString is optional string.
Ref: #/components/responses/401.
No description provided by the author
R5xxStatusCodeWithHeaders wraps R5xx with status code and response headers.
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.

# Interfaces

ClientOption is client config option.
No description provided by the author
No description provided by the author
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.

# Type aliases

No description provided by the author
No description provided by the author
ErrorHandler is error handler.
Middleware is middleware type.
No description provided by the author