integration

package
v0.0.0-...-8aec21d Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAndServe

func InitAndServe(a InitArgs) error

InitAndServe checks validity of the supplied arguments and starts the web server on the specified port.

Types

type InitArgs

type InitArgs struct {
	LogWriter io.Writer
	Peers     []replication.Peer

	InstanceName string

	DirName    string
	ListenAddr string

	MaxChunkSize        uint64
	RotateChunkInterval time.Duration

	PProfAddr string

	// The next set of parameters is only set in tests.
	DisableAcknowledge bool
}

Jump to

Keyboard shortcuts

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