Skip to content

GoPass Wiki

Alex edited this page Feb 7, 2024 · 3 revisions

Backend to Frontend

  • Login
  • Login( username string, password string ) returns a bool and an error
  • Login function is called when the user clicks the login button

Español:

  • Login
  • Login( username string, password string ) devuelve un bool y un error
  • La función Login se llama cuando el usuario hace clic en el botón de inicio de sesión

  • Register
  • Register( username string, email string, password string ) returns a bool and an error
  • Register function is called when the user clicks the register button

Español:

  • Register
  • Register( username string, email string, password string ) devuelve un bool y un error
  • La función Register se llama cuando el usuario hace clic en el botón de registro

  • GetUserPasswords
  • GetUserPasswords( username string ) returns a map[string]string and an error
  • GetUserPasswords function gets the password of the user with the given username

Español:

  • GetUserPasswords
  • GetUserPasswords( username string ) devuelve un map[string]string y un error
  • La función GetUserPasswords obtiene la contraseña del usuario con el nombre de usuario dado

  • SaveUserPassword
  • SaveUserPassword( username string, service string, password string ) returns an error
  • SaveUserPassword function saves a password for the given username and service

Español:

  • SaveUserPassword
  • SaveUserPassword( username string, service string, password string ) devuelve un error
  • La función SaveUserPassword guarda una contraseña para el nombre de usuario y servicio especificados

  • DeletePassword
  • DeletePassword( username string, service string ) returns an error
  • DeletePassword function deletes a password saved in the database by the given username and service

Español:

  • DeletePassword
  • DeletePassword( username string, service string ) devuelve un error
  • La función DeletePassword elimina una contraseña almacenada en la base de datos por el nombre de usuario y servicio especificados

  • Greet
  • Greet( username string ) returns a string and an error
  • Greet function is for testing the frontend development

Español:

  • Greet
  • Greet( username string ) devuelve un string y un error
  • La función Greet es para probar el desarrollo del frontend

Clone this wiki locally