services

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountSignup

func AccountSignup(accountName string, email string, password string) error

func CreateAgent

func CreateAgent(accountIdStr string, agentName string, port int, memory int64) error

func GenerateUserTwoFASecret added in v1.0.10

func GenerateUserTwoFASecret(accountIdStr string, userIdStr string) (string, error)

func GetAccountSession

func GetAccountSession(sessionIdStr string) (models.AccountSessions, error)

func GetAllAgents

func GetAllAgents(accountIdStr string) ([]models.Agents, error)

func GetAllUsers

func GetAllUsers(accountIdStr string) ([]models.Users, error)

func GetMyUser added in v1.0.4

func GetMyUser(accountIdStr string, userIdStr string) (models.Users, error)

func LoginAccountUser

func LoginAccountUser(email string, password string) (string, error)

func ValidateUserTwoFACode added in v1.0.11

func ValidateUserTwoFACode(accountIdStr string, userIdStr string, code string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL