server

package
v0.0.0-...-77652f2 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HumanFileSize

func HumanFileSize(size float64) string

func Round

func Round(val float64, roundOn float64, places int) (newVal float64)

Types

type Server

type Server struct {
	Cipher crypto.Cipher
	Router router.Gateway
	Config *config.Config
	Notify chan struct{}
	// contains filtered or unexported fields
}

Server represents vpn server

func (Server) Run

func (s Server) Run(ctx context.Context)

Run stars workers

Jump to

Keyboard shortcuts

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