rest

package
v0.0.0-...-0de0908 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsumeRestService

func ConsumeRestService(requestInfo RequestInfo, v interface{}) (*http.Response, error)

ConsumeRestService doc..

Types

type RequestInfo

type RequestInfo struct {
	Method      string
	Endpoint    string
	Headers     map[string]string
	QueryParams map[string]string
	Body        interface{}
	Timeout     time.Duration
}

RequestInfo doc ...

Jump to

Keyboard shortcuts

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