common

package
v0.0.0-...-18e1c45 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: GPL-3.0 Imports: 2 Imported by: 8

Documentation

Index

Constants

View Source
const (
	DEFAULT_IP_ADDRESS        string = "0.0.0.0"
	DEFAULT_CLIENT_IP_ADDRESS string = "127.0.0.1"
	DEFAULT_PORT              string = "49022"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateKeyPair

type CertificateKeyPair struct {
	Cert string
	Key  string
}

type Commander

type Commander interface {
	Execute(conn *tls.Conn) error
	SetLogger(logger log.Logger)
}

type TCPServer

type TCPServer interface {
	Start() error

	IsRunning() bool

	Stop()
}

Jump to

Keyboard shortcuts

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