test

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package test implements test command for PEPCLI.

Index

Constants

View Source
const (
	// Name contains title of function implemented by the package.
	Name = "test"
	// Description provides additional information on the package functionality.
	Description = "evaluates given requests on PDP server"
)

Variables

This section is empty.

Functions

func Exec

func Exec(addr string, opts []pep.Option, maxRequestSize, maxResponseObligations uint32, in, out string, n int, v interface{}) error

Exec tests requests from input with given pdp server and dumps responses in YAML format to given file or standard output if file name is empty.

func FlagsParser

func FlagsParser(args []string) interface{}

FlagsParser implements parsing for options specific to the package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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