file

package
v0.0.0-...-696a884 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2014 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package file contains methods for uploading, retrieving and removing files efficiently and transparently via RPC.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	// contains filtered or unexported fields
}

func (*File) Delete

func (f *File) Delete(p Request) (bool, error)

func (*File) Get

func (f *File) Get(p Request) (string, error)

func (*File) Setup

func (f *File) Setup(config *config.Config) error

func (*File) Upload

func (f *File) Upload(p Request) (string, error)

type Request

type Request struct {
	Auth     string
	Remote   string
	Checksum string
	Filename string
}

Jump to

Keyboard shortcuts

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