message

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectoryCreateRequest added in v1.1.12

type DirectoryCreateRequest struct {
	Pathname string
	Mode     fs.FileMode
}

type DirectoryDestroyRequest added in v1.1.12

type DirectoryDestroyRequest struct {
	Pathname string
}

type DirectoryEntry added in v1.1.10

type DirectoryEntry struct {
	Name    string
	Size    int64
	ModTime time.Time
	Mode    fs.FileMode
}

type DirectoryRequest added in v1.1.9

type DirectoryRequest struct {
	Pathname string
}

type DirectoryResponse added in v1.1.9

type DirectoryResponse struct {
	Success  bool
	Message  string
	Pathname string
	Entries  map[string]DirectoryEntry
}

type ExecRequest

type ExecRequest struct {
	Command string
	Args    []string
}

type ExecResponse

type ExecResponse struct {
	Success  bool
	Message  string
	Command  string
	ExitCode int
	Stdout   string
	Stderr   string
}

type FailResponse

type FailResponse struct {
	Success bool
	Message string
}

type FileDownloadRequest

type FileDownloadRequest struct {
	Pathname string
}

type FileDownloadResponse

type FileDownloadResponse struct {
	Success   bool
	Message   string
	Pathname  string
	Content   []byte
	Timestamp time.Time
	Mode      fs.FileMode
}

type FileGetRequest

type FileGetRequest struct {
	Pathname string
	URL      string
	CA       []byte
	Cert     []byte
	Key      []byte
}

type FileGetResponse

type FileGetResponse struct {
	Success  bool
	Message  string
	Pathname string
	Bytes    int64
}

type FileUploadRequest

type FileUploadRequest struct {
	Pathname  string
	Content   []byte
	Timestamp time.Time
	Mode      fs.FileMode
	Force     bool
}

type FileUploadResponse

type FileUploadResponse struct {
	Success  bool
	Message  string
	Pathname string
}

type PingResponse

type PingResponse struct {
	Success bool
	Message string
}

type SpawnResponse

type SpawnResponse struct {
	Success  bool
	Message  string
	Command  string
	ExitCode int
}

Jump to

Keyboard shortcuts

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