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.
NewOptBirthDate returns new OptBirthDate with value set to v.
NewOptFloat64 returns new OptFloat64 with value set to v.
NewOptInt returns new OptInt with value set to v.
NewOptLoginPostReq returns new OptLoginPostReq with value set to v.
NewOptPostCreatePostReq returns new OptPostCreatePostReq with value set to v.
NewOptPostId returns new OptPostId with value set to v.
NewOptPostText returns new OptPostText with value set to v.
NewOptPostUpdatePutReq returns new OptPostUpdatePutReq with value set to v.
NewOptString returns new OptString with value set to v.
NewOptUserId returns new OptUserId with value set to v.
NewOptUserRegisterPostReq returns new OptUserRegisterPostReq 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
AuthGetOK is response for AuthGet operation.
No description provided by the author
Client implements OAS client.
FriendDeleteUserIDPutOK is response for FriendDeleteUserIDPut operation.
FriendDeleteUserIDPutParams is parameters of PUT /friend/delete/{user_id} operation.
FriendSetUserIDPutOK is response for FriendSetUserIDPut operation.
FriendSetUserIDPutParams is parameters of PUT /friend/set/{user_id} operation.
LoginPostBadRequest is response for LoginPost operation.
LoginPostNotFound is response for LoginPost operation.
No description provided by the author
No description provided by the author
OptBirthDate is optional BirthDate.
OptFloat64 is optional float64.
OptInt is optional int.
OptLoginPostReq is optional LoginPostReq.
OptPostCreatePostReq is optional PostCreatePostReq.
OptPostId is optional PostId.
OptPostText is optional PostText.
OptPostUpdatePutReq is optional PostUpdatePutReq.
OptString is optional string.
OptUserId is optional UserId.
OptUserRegisterPostReq is optional UserRegisterPostReq.
Пост пользователя.
No description provided by the author
PostDeleteIDPutOK is response for PostDeleteIDPut operation.
PostDeleteIDPutParams is parameters of PUT /post/delete/{id} operation.
PostFeedGetParams is parameters of GET /post/feed operation.
PostGetIDGetParams is parameters of GET /post/get/{id} operation.
PostUpdatePutOK is response for PostUpdatePut operation.
No description provided by the author
Ref: #/components/responses/400.
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.
Ref: #/components/schemas/User.
UserGetIDGetBadRequest is response for UserGetIDGet operation.
UserGetIDGetNotFound is response for UserGetIDGet operation.
UserGetIDGetParams is parameters of GET /user/get/{id} operation.
UserRegisterPostBadRequest is response for UserRegisterPost operation.
No description provided by the author
No description provided by the author
UserSearchGetBadRequest is response for UserSearchGet operation.
UserSearchGetParams is parameters of GET /user/search operation.
# Interfaces
No description provided by the author
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.
No description provided by the author
Option is config option.
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
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
# Type aliases
No description provided by the author
ErrorHandler is error handler.
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
Middleware is middleware type.
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