client

package
v0.0.0-...-c46e59b Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: Apache-2.0 Imports: 11 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 NewClient

func NewClient(username, password, endpoint string, timeout time.Duration) *Client

func (*Client) Query

func (c *Client) Query(ctx context.Context, query string, vars map[string]string) (map[string]interface{}, error)

func (*Client) Queryx

func (c *Client) Queryx(ctx context.Context, query string, vars map[string]interface{}) (map[string]interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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