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
}
Click to show internal directories.
Click to hide internal directories.