filestore

command
v0.0.7-dev Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

The command filestore starts an HTTP server with a filestore.

Usage:

$ filestore -h
Usage of filestore:
  -http string
    	HTTP address (default ":5000")
  -maxmsgsize int
    	Maximum size of a received web socket message (default 32768)
  -path string
      	path to directory where files are stored (default "/var/stratumn/filestore")
  -tlscert string
    	TLS certificate file
  -tlskey string
    	TLS private key file
  -wspinginterval duration
    	Interval between web socket pings (default 54s)
  -wspongtimeout duration
    	Timeout for a web socket expected pong (default 1m0s)
  -wsreadbufsize int
    	Web socket read buffer size (default 1024)
  -wswritebufsize int
    	Web socket write buffer size (default 1024)
  -wswritechansize int
    	Size of a web socket connection write channel (default 256)
  -wswritetimeout duration
    	Timeout for a web socket write (default 10s)

Docker

A Docker image is available. To create a container, run:

$ docker run -p 5000:5000 stratumn/filestore

Jump to

Keyboard shortcuts

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