dataserver

package
v0.0.0-...-a2eb7de Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoPeerCertificates       = errors.New("Peer did not present any certificates")
	ErrTlsHandshakeFailed       = errors.New("TLS Handshake failed")
	ErrMultiplePeerCertificates = errors.New("Peer presented multiple certificates")
)

Functions

This section is empty.

Types

type DataServer

type DataServer struct {
	// contains filtered or unexported fields
}

func New

func New(certPath, keyPath, caCertPath, machineLogsDir string) (*DataServer, error)

func (*DataServer) Close

func (self *DataServer) Close()

func (*DataServer) DumpRecords

func (self *DataServer) DumpRecords() DsRecords

func (*DataServer) Run

func (self *DataServer) Run(listenPort int) error

type DsRecords

type DsRecords map[string][]int

Jump to

Keyboard shortcuts

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