Documentation ¶
Index ¶
- func ConnectToServer(ctx context.Context, options *ConnectOptions, kvConn store.IKVStore) (*ssh.Client, error)
- func RunCommand(ctx context.Context, client *ssh.Client, command string) (stdOutLines chan string, stdErrLines chan string, doneChan chan bool, ...)
- func ShutdownMinecraftServer(ctx context.Context, client *ssh.Client) error
- type ConnectOptions
- type PrivateKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToServer ¶
func RunCommand ¶
Types ¶
type ConnectOptions ¶
type ConnectOptions struct { ServerIpAddress *string PrivateKey *PrivateKey }
type PrivateKey ¶
type PrivateKey = rsa.PrivateKey
Click to show internal directories.
Click to hide internal directories.