recipes

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBlock

func AddBlock(user response.User, blockName string, key response.Key) (response.Block, error)

func AddCustomKey

func AddCustomKey(user response.User, keyName string) (response.Key, error)

func AddPod

func AddPod(user response.User, podName string, key response.Key) (response.Pod, error)

func AddPodToBlock

func AddPodToBlock(user response.User, podName string, block response.Block) (response.Pod, error)

func AddProjectKey

func AddProjectKey(user response.User, keyName string) (response.Key, error)

func AddTeacherKey

func AddTeacherKey(user response.User, keyName string) (response.Key, error)

func RegisterUser

func RegisterUser(email string) (response.User, error)

func SearchUserAndShareBlock

func SearchUserAndShareBlock(user response.User, block response.Block, searchToken string, acl string) error

func SignIn

func SignIn(email string, password string) (response.User, error)

func SleepAfter

func SleepAfter()

func SleepBefore

func SleepBefore()

func ValidateDependencies

func ValidateDependencies() (response.User, error)

ValidateDependencies We require that the first recipe be run before anything else as it registers a bunch of users. To verify if it was actually run, we do this "random" check.

Types

This section is empty.

Jump to

Keyboard shortcuts

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