simulation

package
v0.0.0-...-4e1bd8b Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Run the algorithm.

Types

type Contact

type Contact struct {
	Name      string `json:"name"`
	Cellphone string `json:"cellphone"`
}

Contact definition for json operations.

type Simulator

type Simulator struct {
	Username    string
	Password    string
	BearerToken string
	Contacts    []Contact
}

Simulator type provides an execution of an use case scenario simulation.

func (*Simulator) ExecLogin

func (sim *Simulator) ExecLogin()

ExecLogin executes app login.

func (*Simulator) RegisterContacts

func (sim *Simulator) RegisterContacts()

RegisterContacts registers the contacts with provided admin access.

Jump to

Keyboard shortcuts

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