client

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package client implements HTTP client functionality of binq.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.7.2

type Client struct {
	ServerURL *url.URL
	// contains filtered or unexported fields
}

func NewClient added in v0.7.2

func NewClient(svr *url.URL, logger lv.Standard) (c *Client)

func (*Client) GetIndex added in v0.7.2

func (c *Client) GetIndex() (index *schema.Index, err error)

func (*Client) GetItemInfo added in v0.7.2

func (c *Client) GetItemInfo(name string) (tgt *item.Item, err error)

func (*Client) GetItemInfoByPath added in v0.7.2

func (c *Client) GetItemInfoByPath(pth string) (tgt *item.Item, err error)

Directories

Path Synopsis
Package http wraps net/http to suit binq use cases
Package http wraps net/http to suit binq use cases

Jump to

Keyboard shortcuts

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