prototype

command
v0.0.0-...-1fd911f Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2016 License: BSD-3-Clause Imports: 12 Imported by: 0

README

Keyword Search on KBFS Data

Supports keyword search on encrypted data stored in KBFS.

This is an early prototype simulating the whole process locally with clients and a server. The network traffic is simulated by applying latency and bandwidth to the time logging.

To run the demo, simply do:

go run main.go

Or to disable time logging:

go run main.go --enable_logger=false

The clients have a default storage directory of .client_fs/ and the server has a default directory of .server_fs/. Use go run main.go --help to see other configurable parameters.

A list of commands currently supported:

	client/c X
			Starts running client with client number X
	ls/l
			Lists all the files on the server
	search/s w1 w2 w3 ...
			Searches the words in the server
	searchn/sn w1 w2 w3 ...
			Searches the words in the server (naive version)
	add/a f1 f2 d1 d2 ...
			Adds the files and directories (recursive) to the system
	info/i
			Prints the server information
	exit/q
			Exits the program

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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