client

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: BSD-3-Clause Imports: 9 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 interface {
	Do(*http.Request) (*http.Response, error)
}

type VirgilHttpClient

type VirgilHttpClient struct {
	Client  HttpClient
	Address string
}

func (*VirgilHttpClient) Send

func (vc *VirgilHttpClient) Send(method string, token string, urlPath string, payload proto.Message, respObj proto.Message, extraOptions ...interface{}) (headers http.Header, err error)

Jump to

Keyboard shortcuts

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