package
0.0.0-20241209185607-fa0d8b151d2f
Repository: https://github.com/upikoth/starter-go.git
Documentation: pkg.go.dev

# Functions

LabelerFromContext retrieves the Labeler from the provided context, if present.
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.

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

# Structs

Client implements OAS client.
Ref: #/components/schemas/ErrorResponse.
No description provided by the author
No description provided by the author
ErrorResponseStatusCode wraps ErrorResponse with StatusCode.
Labeler is used to allow adding custom attributes to the server request metrics.
OptInt is optional int.
OptString is optional string.
Route is route object.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
Ref: #/components/schemas/Session.
Ref: #/components/schemas/SuccessResponse.
No description provided by the author
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
Ref: #/components/schemas/User.
V1AuthorizeUsingOauthHandleMailRedirectFound is response for V1AuthorizeUsingOauthHandleMailRedirect operation.
V1AuthorizeUsingOauthHandleMailRedirectParams is parameters of V1AuthorizeUsingOauthHandleMailRedirect operation.
V1AuthorizeUsingOauthHandleVkRedirectFound is response for V1AuthorizeUsingOauthHandleVkRedirect operation.
V1AuthorizeUsingOauthHandleVkRedirectParams is parameters of V1AuthorizeUsingOauthHandleVkRedirect operation.
V1AuthorizeUsingOauthHandleYandexRedirectFound is response for V1AuthorizeUsingOauthHandleYandexRedirect operation.
V1AuthorizeUsingOauthHandleYandexRedirectParams is parameters of V1AuthorizeUsingOauthHandleYandexRedirect operation.
Ref: #/components/schemas/V1AuthorizeUsingOauthRequestBody.
Ref: #/components/schemas/V1AuthorizeUsingOauthResponse.
No description provided by the author
V1CheckCurrentSessionParams is parameters of V1CheckCurrentSession operation.
V1DeleteSessionParams is parameters of V1DeleteSession operation.
V1GetCurrentUserParams is parameters of V1GetCurrentUser operation.
V1GetUsersParams is parameters of V1GetUsers operation.
Ref: #/components/schemas/V1PasswordRecoveryRequestsConfirmPasswordRecoveryRequestRequestBody.
Ref: #/components/schemas/V1PasswordRecoveryRequestsConfirmPasswordRecoveryRequestResponse.
No description provided by the author
Ref: #/components/schemas/V1PasswordRecoveryRequestsCreatePasswordRecoveryRequestRequestBody.
Ref: #/components/schemas/V1PasswordRecoveryRequestsCreatePasswordRecoveryRequestResponse.
No description provided by the author
Ref: #/components/schemas/V1RegistrationsConfirmRegistrationRequestBody.
Ref: #/components/schemas/V1RegistrationsConfirmRegistrationResponse.
No description provided by the author
Ref: #/components/schemas/V1RegistrationsCreateRegistrationRequestBody.
Ref: #/components/schemas/V1RegistrationsCreateRegistrationResponse.
No description provided by the author
Ref: #/components/schemas/V1SessionsCreateSessionRequestBody.
Ref: #/components/schemas/V1SessionsCreateSessionResponse.
No description provided by the author
Ref: #/components/schemas/V1UsersGetUserResponse.
No description provided by the author
Ref: #/components/schemas/V1UsersGetUsersResponse.
No description provided by the author

# 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.

# Type aliases

ErrorHandler is error handler.
No description provided by the author
Middleware is middleware type.
OperationName is the ogen operation name.
No description provided by the author
No description provided by the author
Ref: #/components/schemas/UserRole.
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