Documentation ¶
Index ¶
- Variables
- func ConvertToBytes(input string) (int64, error)
- func FixListenAddress(address string) string
- func GenerateCertificate(dnsNames []string, ipAddresses []net.IP) (string, string, error)
- func GetGitHubKeys(username string) (string, error)
- func LookupIP(host string) (*[]string, error)
- func LookupSRV(service string) (*[]HostPort, error)
- func NewCopier(socket net.Conn, wsConnection *websocket.Conn) *copierConnections
- func PrintTable(table [][]string)
- func ResolveSRVHttp(uri string) string
- func UpdateAuthorizedKeys(key string, githubUsername string) error
- func UpdateSSHConfig(sshConfig string) error
- func UpgradeToWS(w http.ResponseWriter, r *http.Request) *websocket.Conn
- type HostPort
Constants ¶
This section is empty.
Variables ¶
View Source
var Timezones = []string{}/* 575 elements not displayed */
Functions ¶
func ConvertToBytes ¶
func FixListenAddress ¶ added in v0.10.0
func GenerateCertificate ¶
GenerateCertificate generates a self-signed certificate and private key in PEM format.
func GetGitHubKeys ¶ added in v0.9.0
Download the public keys from GitHub, https://github.com/<username>.keys
func LookupSRV ¶ added in v0.9.0
Look up the address of a service via a DNS SRV lookup against either consul servers or nameservers
func PrintTable ¶ added in v0.9.0
func PrintTable(table [][]string)
func ResolveSRVHttp ¶
func UpdateAuthorizedKeys ¶
func UpdateSSHConfig ¶ added in v0.9.0
func UpgradeToWS ¶
Upgrade the connection to a websocket connection
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.