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

Error defines model for Error.
GetHistoryRequest defines model for GetHistoryRequest.
GetHistoryResponse defines model for GetHistoryResponse.
No description provided by the author
Message defines model for Message.
MessageHeader defines model for MessageHeader.
MessagesPage defines model for MessagesPage.
go:generate options-gen -out-filename=handlers.gen.go -from-struct=Options.
PostGetHistoryParams defines parameters for PostGetHistory.
PostSendMessageParams defines parameters for PostSendMessage.
SendMessageRequest defines model for SendMessageRequest.
SendMessageResponse defines model for SendMessageResponse.
ServerInterfaceWrapper converts echo contexts to parameters.

# Interfaces

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.
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
PostGetHistoryJSONRequestBody defines body for PostGetHistory for application/json ContentType.
PostSendMessageJSONRequestBody defines body for PostSendMessage for application/json ContentType.
XRequestIDHeader defines model for XRequestIDHeader.