go-tests-utility

module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT

README

go-tests-utility

Go testing related utilities.

Packages

http
json
auth
SignIn(stage, username, password string) (tokens Tokens, err error)
companies
Create(identityToken, stage, parentNodeID, label, description string) (companyID string, err error)
Delete(identityToken, stage, companyID string) (err error)
disposable-emails
NewEmailAddress() (emailAddress string, err error)
PollForMessageWithSubject(emailAddress, subject string, fromTimestamp time.Time) (msgAsHTML string, err error)
users
Create(accessToken, stage, companyID, email string) (createdUser User, password string, err error)
Delete(accessToken, stage, userID string) error
AddUserAccess(identityToken, stage, userID, companyID string) (err error)
AddUserRole(identityToken, stage, userID, role string) (err error)

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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