clients

package
v0.0.0-...-8a20bae Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

type HttpClient struct {
	Host string
	// contains filtered or unexported fields
}

func NewDefaultHttpClient

func NewDefaultHttpClient(host string) HttpClient

func (HttpClient) Get

func (h HttpClient) Get(path string, query map[string]string, result interface{}) error

func (HttpClient) Post

func (h HttpClient) Post(path string, body, result interface{}) error

Jump to

Keyboard shortcuts

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