functional

package
v0.0.0-...-873fb03 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RitClearConfigs

func RitClearConfigs()

func RitSingleInit

func RitSingleInit()

Types

type Scenario

type Scenario struct {
	Entry  string `json:"entry"`
	Steps  []Step `json:"steps"`
	Result string `json:"result"`
}

func LoadScenarios

func LoadScenarios(file string) []Scenario

func (*Scenario) RunStdin

func (scenario *Scenario) RunStdin() (string, error)

func (*Scenario) RunSteps

func (scenario *Scenario) RunSteps() (string, error)

type Step

type Step struct {
	Key    string `json:"key"`
	Value  string `json:"value"`
	Action string `json:"action"`
}

Jump to

Keyboard shortcuts

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