package
0.0.0-20240102142053-09f77a91d44d
Repository: https://github.com/lapitskyss/chat-service.git
Documentation: pkg.go.dev

# Packages

Code generated by MockGen.

# Functions

No description provided by the author
No description provided by the author
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
No description provided by the author
No description provided by the author
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
No description provided by the author

# Constants

No description provided by the author
Defines values for ErrorCode.
Defines values for ErrorCode.

# Structs

Chat defines model for Chat.
ChatId defines model for ChatId.
ChatList defines model for ChatList.
CloseChatRequest defines model for CloseChatRequest.
CloseChatResponse defines model for CloseChatResponse.
Error defines model for Error.
FreeHandsBtnAvailability defines model for FreeHandsBtnAvailability.
FreeHandsResponse defines model for FreeHandsResponse.
GetChatHistoryRequest defines model for GetChatHistoryRequest.
GetChatHistoryResponse defines model for GetChatHistoryResponse.
GetChatsResponse defines model for GetChatsResponse.
GetFreeHandsBtnAvailabilityResponse defines model for GetFreeHandsBtnAvailabilityResponse.
No description provided by the author
Message defines model for Message.
MessagesPage defines model for MessagesPage.
MessageWithoutBody defines model for MessageWithoutBody.
go:generate options-gen -out-filename=handlers.gen.go -from-struct=Options.
PostCloseChatParams defines parameters for PostCloseChat.
PostFreeHandsParams defines parameters for PostFreeHands.
PostGetChatHistoryParams defines parameters for PostGetChatHistory.
PostGetChatsParams defines parameters for PostGetChats.
PostGetFreeHandsBtnAvailabilityParams defines parameters for PostGetFreeHandsBtnAvailability.
PostSendMessageParams defines parameters for PostSendMessage.
SendMessageRequest defines model for SendMessageRequest.
SendMessageResponse defines model for SendMessageResponse.
ServerInterfaceWrapper converts echo contexts to parameters.

# Interfaces

CloseChat defines model for CloseChat.
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
FreeHands defines model for FreeHands.
ServerInterface represents all server handlers.

# Type aliases

ErrorCode contains HTTP error codes and specific business logic error codes (the last must be >= 1000).
No description provided by the author
PostCloseChatJSONRequestBody defines body for PostCloseChat for application/json ContentType.
PostGetChatHistoryJSONRequestBody defines body for PostGetChatHistory for application/json ContentType.
PostSendMessageJSONRequestBody defines body for PostSendMessage for application/json ContentType.
XRequestIDHeader defines model for XRequestIDHeader.