client

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Overview

GENERATED FILE - DO NOT EDIT Rebuild from the tomatool generate handler tool

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(r map[string]Resource) *Handler

func (*Handler) Register

func (h *Handler) Register(s *godog.Suite)

type Resource

type Resource interface {
	resource.Resource

	Request(method, path string, body []byte) error
	RequestFromFile(method, path, file string) error
	Response() (int, http.Header, []byte, error)
	SetRequestHeader(string, string) error
}

Jump to

Keyboard shortcuts

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