openstack

package
v0.0.0-...-b377a3b Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OS_AUTH_URL string
View Source
var OS_DB *sql.DB
View Source
var OS_DB_IP string
View Source
var OS_DB_PASSWORD string
View Source
var OS_DB_USERNAME string
View Source
var OS_IDENTITY_API_VERSION string
View Source
var OS_PASSWORD string
View Source
var OS_PROJECT_DOMAIN_NAME string
View Source
var OS_PROJECT_NAME string
View Source
var OS_USERNAME string
View Source
var OS_USER_DOMAIN_NAME string
View Source
var PROHIBITED []string
View Source
var SECRET string

Functions

func Init

func Init(m *http.ServeMux, secret string)

func Quit

func Quit()

Types

type HttpRes

type HttpRes struct {
	// contains filtered or unexported fields
}

func UserCreate

func UserCreate(email string, passwordHash string) HttpRes

func UserDelete

func UserDelete(email string) HttpRes

func UserUpdate

func UserUpdate(oldEmail string, newEmail string, passwordHash string) HttpRes

type OS_User_Create

type OS_User_Create struct {
	Email       string `json:"email"`
	PassworHash string `json:"password_hash"`
}

type OS_User_Delete

type OS_User_Delete struct {
	Email string `json:"email"`
}

type OS_User_Update

type OS_User_Update struct {
	OldEmail     string `json:"old_email"`
	NewEmail     string `json:"new_email"`
	PasswordHash string `json:"password_hash"`
}

Jump to

Keyboard shortcuts

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