client

package
v0.0.0-...-dc6e3ae Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 6 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
}

Client is a struct used for communicating with a Cayley server through HTTP Deprecated: Client exists for backwards compatability. New code should use the updated client github.com/cayleygraph/go-client

func New

func New(addr string) *Client

func (*Client) QuadReader

func (c *Client) QuadReader() (quad.ReadCloser, error)

func (*Client) QuadWriter

func (c *Client) QuadWriter() (quad.WriteCloser, error)

func (*Client) SetHTTPClient

func (c *Client) SetHTTPClient(cli *http.Client)

Jump to

Keyboard shortcuts

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