Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptHandler ¶
func AcceptHandler(c echo.Context) error
func SendHandler ¶
func SendHandler(c echo.Context) error
--- Flow --- 1. Fetch the organisation's symmetric key using the organisation ID. 2. Decrypt the organisation's symmetric key using user's received password. 3. Pull the public key of the invitee. 4. Create a new copy of the organisation's symmetric key encrypted with the invitee's public key. 5. Save the new encrypted copy in the database and send the invite.
Types ¶
type AcceptOptions ¶
type AcceptOptions struct {
ID string `json:"id,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.