tests

package
v0.0.0-...-5c36ebe Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServerTests

func ServerTests()

ServerTests run all tests for basic REST API endpoints

Types

type Payload

type Payload struct {
	Version string `json:"version"`
	Rules   []Rule `json:"rules"`
}

Payload to be returned by server

type Rule

type Rule struct {
	Conditions         []interface{} `json:"conditions,omitempty"`
	GatheringFunctions interface{}   `json:"gathering_functions,omitempty"`
}

Rule data type definition based on original JSON schema

Jump to

Keyboard shortcuts

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