asset

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: MPL-2.0-no-copyleft-exception Imports: 8 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
}

Client is a handle into the asset client.

func NewClient

func NewClient(addr string, cert *transport.Cert, trace bool) (*Client, error)

NewClient creates a new *Client for use.

func (*Client) Close

func (c *Client) Close() error

Close closes the client's tracing functionality

func (*Client) Read

func (c *Client) Read(ctx context.Context, id int64, w io.Writer) error

func (*Client) Write

func (c *Client) Write(ctx context.Context, id int64, f io.Reader) error

Write writes a log at id with the supplied reader providing the content.

Jump to

Keyboard shortcuts

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