Documentation ¶
Index ¶
- func Login(email string, pass string, device string) *variables.TestVariables
- func LoginOnShift(email string, pass string, device string) *variables.TestVariables
- func Logout(apitoken string)
- func OffShift(apiToken string, shiftId string)
- func OffShiftLogout(apiToken string, shiftId string)
- func OnShift(apiToken string) *variables.TestVariables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Login ¶
func Login(email string, pass string, device string) *variables.TestVariables
Logs in a user Populates the 'driver_token' variable
func LoginOnShift ¶
func LoginOnShift(email string, pass string, device string) *variables.TestVariables
Logs in and Puts a driver on shift Populates the 'driver_token' variable Populates the 'shift_id' variable
func OffShiftLogout ¶
Takes the driver offshift and logs out.
func OnShift ¶
func OnShift(apiToken string) *variables.TestVariables
Puts a driver on shift Populates the 'driver_token' variable Populates the 'shift_id' variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.