update

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteServer

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

func NewRemoteServer

func NewRemoteServer(privateKey, ip, user string) *RemoteServer

func (*RemoteServer) ExecuteCommand

func (r *RemoteServer) ExecuteCommand(cmd string, port int) (string, error)

func (*RemoteServer) TransferFile

func (r *RemoteServer) TransferFile(src, dstPath string, port int) error

func (*RemoteServer) UpdateServer

func (r *RemoteServer) UpdateServer(args *model.MinecraftResource) error

type ServerOperations

type ServerOperations interface {
	UpdateServer(*model.MinecraftResource) error
}

Jump to

Keyboard shortcuts

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