client

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoDelete

func DoDelete(
	url string,
	headers map[string]string,
	l *zap.Logger,
) ([]byte, error)

DoDelete is the low level call to the backend api for deletes.

func DoGet

func DoGet(
	url string,
	headers map[string]string,
	l *zap.Logger,
) ([]byte, error)

DoGet is the low level call to the backend api for gets.

func DoPost

func DoPost(
	url string,
	headers map[string]string,
	data io.Reader,
	l *zap.Logger,
) ([]byte, error)

DoPost is the low level call to the backend api for posts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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