server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2018 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxConnections = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LocateResult

type LocateResult struct {
	Name        string
	Mask        string
	Addr        string
	Fingerprint string
}

type Server

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

func BootServer

func BootServer(basePath, password, logPath, bindHost string, port int) (*Server, error)

func (*Server) Close

func (sv *Server) Close() error

func (*Server) Serve

func (sv *Server) Serve() error

type Url

type Url struct {
	User string
	Path string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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