Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFImager ¶
type CFImager interface {
RetrieveAuthToken(token []byte) error
RegisterAuthToken(owner uint64, token []byte) (err error)
RevokeUsersTokens(userId uint64) (err error)
AddTempUser(email string, hash, salt []byte) (id uint64, err error)
ValidateUser(id uint64) (err error)
GetTempUserId(email string) (id uint64, err error)
SetSource(ownerId, funcId uint64, source string) (err error)
SetCompiledAndError(ownerId, funcId uint64, wasm, js, wjs []byte, errStr string) (err error)
GetWasm(ownerId, funcId uint64) (data []byte, err error)
GetJS(ownerId, funcId uint64) (data []byte, err error)
GetWJS(ownerId, funcId uint64) (data []byte, err error)
GetSourceAndError(ownerId, funcId uint64) (source, errStr string, err error)
SetName(ownerId, funcId uint64, name string) (err error)
SetSourceAndName(ownerId, funcId uint64, source, name string) (err error)
NewFunction(ownerId uint64, name string) (id uint64, err error)
CreateUser(email string, hash, salt []byte) (err error)
GetUserAuthData(email string, hash, salt *[]byte) (id uint64, err error)
GetSource(ownerId, funcId uint64) (source string, err error)
ListFunctions(ownerId uint64) (funcs Functions, err error)
DeleteFunction(ownerId, funcId uint64) (err error)
GetUsedAndCapacity(userId uint64) (used, capacity uint64, err error)
ChangePassword(userId uint64, hash, salt []byte) (err error)
GetId(email string) (id uint64, err error)
DeleteAuthToken(token []byte) (err error)
}
type Queries ¶
type Queries struct {
AuthTokens QueriesAuthTokens
EmailValidation QueriesEmailValidations
Functions QueriesFunctions
Users QueriesUsers
}
type QueriesAuthTokens ¶
type QueriesEmailValidations ¶
type QueriesFunctions ¶
Click to show internal directories.
Click to hide internal directories.