mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 17:59:28 +08:00
18 lines
233 B
Go
18 lines
233 B
Go
package server
|
|
|
|
import "golang.org/x/crypto/ssh"
|
|
|
|
type Server struct {
|
|
Host string
|
|
Port string
|
|
Status string
|
|
Client *ssh.Client
|
|
}
|
|
|
|
func NewServer(host, port string) *Server {
|
|
return &Server{
|
|
Host: host,
|
|
Port: port,
|
|
}
|
|
}
|