wshremote

package
v0.11.5-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 28 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const BYTES_PER_GB = 1073741824

Variables

This section is empty.

Functions

func RunSysInfoLoop

func RunSysInfoLoop(client *wshutil.WshRpc, connName string)

Types

type ByteRangeType

type ByteRangeType struct {
	All   bool
	Start int64
	End   int64
}

type ServerImpl

type ServerImpl struct {
	LogWriter io.Writer
}

func (*ServerImpl) DisposeSuggestionsCommand added in v0.11.1

func (*ServerImpl) DisposeSuggestionsCommand(ctx context.Context, widgetId string) error

func (*ServerImpl) FetchSuggestionsCommand added in v0.11.1

func (*ServerImpl) Log

func (impl *ServerImpl) Log(format string, args ...interface{})

func (*ServerImpl) MessageCommand

func (impl *ServerImpl) MessageCommand(ctx context.Context, data wshrpc.CommandMessageData) error

func (*ServerImpl) RemoteFileCopyCommand added in v0.11.0

func (impl *ServerImpl) RemoteFileCopyCommand(ctx context.Context, data wshrpc.CommandFileCopyData) (bool, error)

func (*ServerImpl) RemoteFileDeleteCommand

func (*ServerImpl) RemoteFileDeleteCommand(ctx context.Context, data wshrpc.CommandDeleteFileData) error

func (*ServerImpl) RemoteFileInfoCommand

func (impl *ServerImpl) RemoteFileInfoCommand(ctx context.Context, path string) (*wshrpc.FileInfo, error)

func (*ServerImpl) RemoteFileJoinCommand

func (impl *ServerImpl) RemoteFileJoinCommand(ctx context.Context, paths []string) (*wshrpc.FileInfo, error)

func (*ServerImpl) RemoteFileMoveCommand added in v0.11.0

func (impl *ServerImpl) RemoteFileMoveCommand(ctx context.Context, data wshrpc.CommandFileCopyData) error

func (*ServerImpl) RemoteFileTouchCommand added in v0.10.0

func (impl *ServerImpl) RemoteFileTouchCommand(ctx context.Context, path string) error

func (*ServerImpl) RemoteGetInfoCommand added in v0.11.0

func (*ServerImpl) RemoteGetInfoCommand(ctx context.Context) (wshrpc.RemoteInfo, error)

func (*ServerImpl) RemoteInstallRcFilesCommand added in v0.11.0

func (*ServerImpl) RemoteInstallRcFilesCommand(ctx context.Context) error

func (*ServerImpl) RemoteListEntriesCommand added in v0.11.0

func (*ServerImpl) RemoteMkdirCommand added in v0.10.0

func (impl *ServerImpl) RemoteMkdirCommand(ctx context.Context, path string) error

func (*ServerImpl) RemoteStreamFileCommand

func (impl *ServerImpl) RemoteStreamFileCommand(ctx context.Context, data wshrpc.CommandRemoteStreamFileData) chan wshrpc.RespOrErrorUnion[wshrpc.FileData]

func (*ServerImpl) RemoteTarStreamCommand added in v0.11.0

func (impl *ServerImpl) RemoteTarStreamCommand(ctx context.Context, data wshrpc.CommandRemoteStreamTarData) <-chan wshrpc.RespOrErrorUnion[iochantypes.Packet]

func (*ServerImpl) RemoteWriteFileCommand

func (*ServerImpl) RemoteWriteFileCommand(ctx context.Context, data wshrpc.FileData) error

func (*ServerImpl) StreamTestCommand added in v0.11.1

func (impl *ServerImpl) StreamTestCommand(ctx context.Context) chan wshrpc.RespOrErrorUnion[int]

func (*ServerImpl) WshServerImpl

func (*ServerImpl) WshServerImpl()

Jump to

Keyboard shortcuts

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