request

package
v0.0.0-...-64d0ec3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Kind = "Request"

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	Name      string      `json:"name"`
	Value     string      `json:"value"`
	ValueFrom interface{} `json:"valueFrom"`
}

type Request

type Request struct {
	// one of
	Project string `json:"project"`
	Group   string `json:"group"`

	Description string   `json:"description"`
	Method      string   `json:"method"`
	URL         string   `json:"url"`
	Headers     []Header `json:"headers"`
	Body        string   `json:"body"`
}

Request type

func (*Request) Valid

func (r *Request) Valid() error

Valid checks is request spec valid

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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