rest_client

package
v0.0.0-...-d77a3c6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultRestClient

type DefaultRestClient struct{}

func NewRestClient

func NewRestClient() DefaultRestClient

func (DefaultRestClient) Post

func (rest DefaultRestClient) Post(url string, body interface{}, headers http.Header) (*http.Response, error)

type RestClient

type RestClient interface {
	Post(url string, body interface{}, headers http.Header) (*http.Response, error)
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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