graphql

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

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() (*Client, error)

func (*Client) Do

func (c *Client) Do(req *Request, res interface{}) error

func (*Client) DoQuery

func (c *Client) DoQuery(q string, res interface{}) error

type Request

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

func NewRequest

func NewRequest(q string) *Request

func (*Request) AddHeader

func (r *Request) AddHeader(key, value string)

func (*Request) SetVar

func (r *Request) SetVar(key string, value interface{})

Jump to

Keyboard shortcuts

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