apiserver

package
v0.0.0-...-efce653 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2017 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ChunkSizeBytes = 1024 * 1024 // 1 MB

Variables

This section is empty.

Functions

func Init

func Init() error

func StartAPIServer

func StartAPIServer(args iface.CommonArgs, dht dht.DHT)

TODO(sakshams): Should have a shutdown channel for integration tests.

Types

type ServerArgs

type ServerArgs struct {
	iface.CommonArgs

	Seeds          []string
	RandomDHTCount int

	DHTLogLevel string
}

Jump to

Keyboard shortcuts

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