client

package
v0.0.0-...-03206cb Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2016 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package client implements a basic appfs client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Host     string
	User     string
	Password string
}

func (*Client) Create

func (c *Client) Create(path string, isdir bool) error

func (*Client) Mkfs

func (c *Client) Mkfs() error

func (*Client) Read

func (c *Client) Read(path string) ([]byte, error)

func (*Client) ReadDir

func (c *Client) ReadDir(path string) ([]*proto.FileInfo, error)

func (*Client) Stat

func (c *Client) Stat(path string) (*proto.FileInfo, error)

func (*Client) Write

func (c *Client) Write(path string, data []byte) error

Jump to

Keyboard shortcuts

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