extpostman

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers()

func StatusCollectionRun added in v1.0.0

func StatusCollectionRun(_ context.Context, body []byte) (*action_kit_api.StatusResult, *extension_kit.ExtensionError)

func StopCollectionRun added in v1.0.0

func StopCollectionRun(_ context.Context, body []byte) (*action_kit_api.StopResult, *extension_kit.ExtensionError)

Types

type State

type State struct {
	Command         []string `json:"command"`
	Pid             int      `json:"pid"`
	CmdStateId      string   `json:"cmdStateId"`
	Timestamp       string   `json:"timestamp"`
	StdOutLineCount int      `json:"stdOutLineCount"`
}

func PrepareCollectionRun

func PrepareCollectionRun(body []byte) (*State, *extension_kit.ExtensionError)

func StartCollectionRun

func StartCollectionRun(_ context.Context, body []byte) (*State, *extension_kit.ExtensionError)

Jump to

Keyboard shortcuts

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