package
0.0.0-20231120041748-6e47cae0ea29
Repository: https://github.com/hammad887/chat-app.git
Documentation: pkg.go.dev

# Functions

New creates a new service API client.
NewChatRoomBadRequest creates a ChatRoomBadRequest with default headers values.
NewChatRoomInternalServerError creates a ChatRoomInternalServerError with default headers values.
NewChatRoomNotFound creates a ChatRoomNotFound with default headers values.
NewChatRoomOK creates a ChatRoomOK with default headers values.
NewChatRoomParams creates a new ChatRoomParams object, with the default timeout for this client.
NewChatRoomParamsWithContext creates a new ChatRoomParams object with the ability to set a context for a request.
NewChatRoomParamsWithHTTPClient creates a new ChatRoomParams object with the ability to set a custom HTTPClient for a request.
NewChatRoomParamsWithTimeout creates a new ChatRoomParams object with the ability to set a timeout on a request.
NewCreateChatRoomConflict creates a CreateChatRoomConflict with default headers values.
NewCreateChatRoomDefault creates a CreateChatRoomDefault with default headers values.
NewCreateChatRoomOK creates a CreateChatRoomOK with default headers values.
NewCreateChatRoomParams creates a new CreateChatRoomParams object, with the default timeout for this client.
NewCreateChatRoomParamsWithContext creates a new CreateChatRoomParams object with the ability to set a context for a request.
NewCreateChatRoomParamsWithHTTPClient creates a new CreateChatRoomParams object with the ability to set a custom HTTPClient for a request.
NewCreateChatRoomParamsWithTimeout creates a new CreateChatRoomParams object with the ability to set a timeout on a request.
NewCreateChatRoomUnauthorized creates a CreateChatRoomUnauthorized with default headers values.
NewGetAllChatroomsDefault creates a GetAllChatroomsDefault with default headers values.
NewGetAllChatroomsNoContent creates a GetAllChatroomsNoContent with default headers values.
NewGetAllChatroomsNotFound creates a GetAllChatroomsNotFound with default headers values.
NewGetAllChatroomsOK creates a GetAllChatroomsOK with default headers values.
NewGetAllChatroomsParams creates a new GetAllChatroomsParams object, with the default timeout for this client.
NewGetAllChatroomsParamsWithContext creates a new GetAllChatroomsParams object with the ability to set a context for a request.
NewGetAllChatroomsParamsWithHTTPClient creates a new GetAllChatroomsParams object with the ability to set a custom HTTPClient for a request.
NewGetAllChatroomsParamsWithTimeout creates a new GetAllChatroomsParams object with the ability to set a timeout on a request.
NewGetAllChatroomsUnauthorized creates a GetAllChatroomsUnauthorized with default headers values.
NewGetAllMessagesDefault creates a GetAllMessagesDefault with default headers values.
NewGetAllMessagesNoContent creates a GetAllMessagesNoContent with default headers values.
NewGetAllMessagesNotFound creates a GetAllMessagesNotFound with default headers values.
NewGetAllMessagesOK creates a GetAllMessagesOK with default headers values.
NewGetAllMessagesParams creates a new GetAllMessagesParams object, with the default timeout for this client.
NewGetAllMessagesParamsWithContext creates a new GetAllMessagesParams object with the ability to set a context for a request.
NewGetAllMessagesParamsWithHTTPClient creates a new GetAllMessagesParams object with the ability to set a custom HTTPClient for a request.
NewGetAllMessagesParamsWithTimeout creates a new GetAllMessagesParams object with the ability to set a timeout on a request.
NewGetAllMessagesUnauthorized creates a GetAllMessagesUnauthorized with default headers values.
NewGetChatroomDefault creates a GetChatroomDefault with default headers values.
NewGetChatroomNotFound creates a GetChatroomNotFound with default headers values.
NewGetChatroomOK creates a GetChatroomOK with default headers values.
NewGetChatroomParams creates a new GetChatroomParams object, with the default timeout for this client.
NewGetChatroomParamsWithContext creates a new GetChatroomParams object with the ability to set a context for a request.
NewGetChatroomParamsWithHTTPClient creates a new GetChatroomParams object with the ability to set a custom HTTPClient for a request.
NewGetChatroomParamsWithTimeout creates a new GetChatroomParams object with the ability to set a timeout on a request.
NewGetChatroomUnauthorized creates a GetChatroomUnauthorized with default headers values.
NewLoginBadRequest creates a LoginBadRequest with default headers values.
NewLoginInternalServerError creates a LoginInternalServerError with default headers values.
NewLoginNotFound creates a LoginNotFound with default headers values.
NewLoginOK creates a LoginOK with default headers values.
NewLoginParams creates a new LoginParams object, with the default timeout for this client.
NewLoginParamsWithContext creates a new LoginParams object with the ability to set a context for a request.
NewLoginParamsWithHTTPClient creates a new LoginParams object with the ability to set a custom HTTPClient for a request.
NewLoginParamsWithTimeout creates a new LoginParams object with the ability to set a timeout on a request.
NewLogoutBadRequest creates a LogoutBadRequest with default headers values.
NewLogoutInternalServerError creates a LogoutInternalServerError with default headers values.
NewLogoutNotFound creates a LogoutNotFound with default headers values.
NewLogoutOK creates a LogoutOK with default headers values.
NewLogoutParams creates a new LogoutParams object, with the default timeout for this client.
NewLogoutParamsWithContext creates a new LogoutParams object with the ability to set a context for a request.
NewLogoutParamsWithHTTPClient creates a new LogoutParams object with the ability to set a custom HTTPClient for a request.
NewLogoutParamsWithTimeout creates a new LogoutParams object with the ability to set a timeout on a request.
NewRegisterUserConflict creates a RegisterUserConflict with default headers values.
NewRegisterUserCreated creates a RegisterUserCreated with default headers values.
NewRegisterUserDefault creates a RegisterUserDefault with default headers values.
NewRegisterUserParams creates a new RegisterUserParams object, with the default timeout for this client.
NewRegisterUserParamsWithContext creates a new RegisterUserParams object with the ability to set a context for a request.
NewRegisterUserParamsWithHTTPClient creates a new RegisterUserParams object with the ability to set a custom HTTPClient for a request.
NewRegisterUserParamsWithTimeout creates a new RegisterUserParams object with the ability to set a timeout on a request.
NewRegisterUserUnauthorized creates a RegisterUserUnauthorized with default headers values.
NewSaveMessageConflict creates a SaveMessageConflict with default headers values.
NewSaveMessageCreated creates a SaveMessageCreated with default headers values.
NewSaveMessageDefault creates a SaveMessageDefault with default headers values.
NewSaveMessageParams creates a new SaveMessageParams object, with the default timeout for this client.
NewSaveMessageParamsWithContext creates a new SaveMessageParams object with the ability to set a context for a request.
NewSaveMessageParamsWithHTTPClient creates a new SaveMessageParams object with the ability to set a custom HTTPClient for a request.
NewSaveMessageParamsWithTimeout creates a new SaveMessageParams object with the ability to set a timeout on a request.
NewSaveMessageUnauthorized creates a SaveMessageUnauthorized with default headers values.

# Structs

ChatRoomBadRequest describes a response with status code 400, with default header values.
ChatRoomInternalServerError describes a response with status code 500, with default header values.
ChatRoomNotFound describes a response with status code 404, with default header values.
ChatRoomOK describes a response with status code 200, with default header values.
ChatRoomParams contains all the parameters to send to the API endpoint for the chat room operation.
ChatRoomReader is a Reader for the ChatRoom structure.
Client for service API */.
CreateChatRoomConflict describes a response with status code 409, with default header values.
CreateChatRoomDefault describes a response with status code -1, with default header values.
CreateChatRoomOK describes a response with status code 200, with default header values.
CreateChatRoomParams contains all the parameters to send to the API endpoint for the create chat room operation.
CreateChatRoomReader is a Reader for the CreateChatRoom structure.
CreateChatRoomUnauthorized describes a response with status code 401, with default header values.
GetAllChatroomsDefault describes a response with status code -1, with default header values.
GetAllChatroomsNoContent describes a response with status code 204, with default header values.
GetAllChatroomsNotFound describes a response with status code 404, with default header values.
GetAllChatroomsOK describes a response with status code 200, with default header values.
GetAllChatroomsParams contains all the parameters to send to the API endpoint for the get all chatrooms operation.
GetAllChatroomsReader is a Reader for the GetAllChatrooms structure.
GetAllChatroomsUnauthorized describes a response with status code 401, with default header values.
GetAllMessagesDefault describes a response with status code -1, with default header values.
GetAllMessagesNoContent describes a response with status code 204, with default header values.
GetAllMessagesNotFound describes a response with status code 404, with default header values.
GetAllMessagesOK describes a response with status code 200, with default header values.
GetAllMessagesParams contains all the parameters to send to the API endpoint for the get all messages operation.
GetAllMessagesReader is a Reader for the GetAllMessages structure.
GetAllMessagesUnauthorized describes a response with status code 401, with default header values.
GetChatroomDefault describes a response with status code -1, with default header values.
GetChatroomNotFound describes a response with status code 404, with default header values.
GetChatroomOK describes a response with status code 200, with default header values.
GetChatroomParams contains all the parameters to send to the API endpoint for the get chatroom operation.
GetChatroomReader is a Reader for the GetChatroom structure.
GetChatroomUnauthorized describes a response with status code 401, with default header values.
LoginBadRequest describes a response with status code 400, with default header values.
LoginInternalServerError describes a response with status code 500, with default header values.
LoginNotFound describes a response with status code 404, with default header values.
LoginOK describes a response with status code 200, with default header values.
LoginParams contains all the parameters to send to the API endpoint for the login operation.
LoginReader is a Reader for the Login structure.
LogoutBadRequest describes a response with status code 400, with default header values.
LogoutInternalServerError describes a response with status code 500, with default header values.
LogoutNotFound describes a response with status code 404, with default header values.
LogoutOK describes a response with status code 200, with default header values.
LogoutParams contains all the parameters to send to the API endpoint for the logout operation.
LogoutReader is a Reader for the Logout structure.
RegisterUserConflict describes a response with status code 409, with default header values.
RegisterUserCreated describes a response with status code 201, with default header values.
RegisterUserDefault describes a response with status code -1, with default header values.
RegisterUserParams contains all the parameters to send to the API endpoint for the register user operation.
RegisterUserReader is a Reader for the RegisterUser structure.
RegisterUserUnauthorized describes a response with status code 401, with default header values.
SaveMessageConflict describes a response with status code 409, with default header values.
SaveMessageCreated describes a response with status code 201, with default header values.
SaveMessageDefault describes a response with status code -1, with default header values.
SaveMessageParams contains all the parameters to send to the API endpoint for the save message operation.
SaveMessageReader is a Reader for the SaveMessage structure.
SaveMessageUnauthorized describes a response with status code 401, with default header values.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.