Skip to content
No description, website, or topics provided.
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
option
optiontest Revert "edit import path from github.com/Alluxio to github.com/alluxio" Dec 6, 2017
wire
wiretest Revert "edit import path from github.com/Alluxio to github.com/alluxio" Dec 6, 2017
LICENSE
README.md Revert README change Dec 6, 2017
benchmark.go
client.go
doc.go
example_test.go
paths.go
paths_test.go
streams.go
streams_test.go

README.md

Go Library for the Alluxio File System API

To get started, fetch the repository into your Go workspace using go get -d github.com/Alluxio/alluxio-go.

Your Go applications can then interact with Alluxio as follows:

package main

import (
        "fmt"
	"log"

	alluxio "github.com/Alluxio/alluxio-go"
	"github.com/Alluxio/alluxio-go/option"
)


func main() {
	fs := alluxio.NewClient(<proxy-host>, <proxy-port>, <timeout>)
	ok, err := fs.Exists("/test_path", &option.Exists{})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(ok)
}

For a list of all supported API calls, see https://github.com/Alluxio/alluxio-go/blob/master/paths.go.

You can’t perform that action at this time.