ui

package
v0.0.0-...-40caa79 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(cfg Config) error

Serve initiates the HTTP server

Types

type Config

type Config struct {
	// dirs are the directories to look in for duplicates
	Dirs []string
	// listen is the interface an port to listen on
	Listen string
	// static is the directeory where static (css, js, html) files are located
	Static string
	// Datastore is the datastore
	Datastore *datastore.Datastore
	// FingerPrintCol is the name of the collection to use for fingerprints
	FingerPrintCol string
}

Config is the http server Config

Jump to

Keyboard shortcuts

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