Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRoutes ¶
func SetupRoutes(router fiber.Router)
Types ¶
type ActivateConversationRequest ¶
Public so it can be unit tested (in the future ig)
func (*ActivateConversationRequest) Validate ¶
func (r *ActivateConversationRequest) Validate() bool
type OpenConversationRequest ¶
type OpenConversationRequest struct { AccountData string `json:"accountData"` // Account data of the user opening the conversation (encrypted) Members []string `json:"members"` Data string `json:"data"` // Encrypted data }
Public so it can be unit tested (in the future ig)
func (*OpenConversationRequest) Validate ¶
func (r *OpenConversationRequest) Validate() bool
type ReadConversationRequest ¶
Public so it can be unit tested (in the future ig)
func (*ReadConversationRequest) Validate ¶
func (r *ReadConversationRequest) Validate() bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.