Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *surrealdb.DB
Functions ¶
func ObtainAuth ¶
func ObtainAuth(key string) (types.DBAuthData, *errors.APIError)
ObtainAuth sends a request to obtain authentication data matching the given key.
func SearchForBinary ¶
SearchForBinary searches for a binary in the database and returns the data if the specified binary type is found. An error is returned if the binary could not be found. We always want to send the latest binary in the database, don't cache results.
func UpdateBinary ¶
UpdateBinary updates the current Oomph binary data in the database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.