server

package
v0.0.0-...-eb588e1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2018 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New() *Server

func (*Server) Authenticate

func (s *Server) Authenticate(conn net.Conn) (bool, string, []byte, error)

func (*Server) LoadAuthKey

func (s *Server) LoadAuthKey(pubKeyString string) error

func (*Server) LoadAuthKeyFromFile

func (s *Server) LoadAuthKeyFromFile(f string) error

func (*Server) LoadAuthKeys

func (s *Server) LoadAuthKeys(keys []string) error

Jump to

Keyboard shortcuts

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