client

package
v1.29.0-mobile.7 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: BSD-2-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *client.Config, tknSrcSrc oauth.TokenSourceSource) (*Client, error)

func (*Client) AppendURLQuery

func (c *Client) AppendURLQuery(urlString string, query map[string]string) string

func (*Client) ConstructURL

func (c *Client) ConstructURL(paths ...string) string

func (*Client) SendOAuthRequest

func (c *Client) SendOAuthRequest(ctx context.Context, method string, url string, mutators []request.RequestMutator, requestBody interface{}, responseBody interface{}, httpClientSource oauth.HTTPClientSource) error

Jump to

Keyboard shortcuts

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