dtos

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: May 24, 2016 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptedJsonContainer

type EncryptedJsonContainer struct {
	EncryptedJson []byte
}

type ExecDto

type ExecDto struct {
	Executor   string
	Exe        string
	WorkingDir string
	Args       []string
}

type FileSummary added in v0.0.8

type FileSummary struct {
	RelativePath string
	ModTime      time.Time
	ChecksumHex  string
}

FileSummary holds the info for a single file

type FilesystemSummaryDto added in v0.0.8

type FilesystemSummaryDto struct {
	BaseDir        string
	FlattenedFiles []*FileSummary
}

FilesystemSummaryDto is the DTO used to transfer file system summaries to compare files before syncing

type FsCopyDto added in v0.0.10

type FsCopyDto struct {
	SrcRemotePath  string
	DestRemotePath string
}

type FsDeleteDto

type FsDeleteDto struct {
	Path string
}

type FsMoveDto

type FsMoveDto struct {
	OldRemotePath string
	NewRemotePath string
}

type FsSymlinkDto added in v0.0.12

type FsSymlinkDto struct {
	SrcRemotePath         string
	DestRemoteSymlinkPath string
}

type GenTokenResponseDto

type GenTokenResponseDto struct {
	EncryptedSessionToken []byte //Encrypted with client public-key
	EncryptedMessage      []byte //Encrypted with the session-token, the unencrypted object is of type `GenTokenResponseMessage`
}

type GenTokenResponseMessage

type GenTokenResponseMessage struct {
	SessionId                int
	TokenEncryptionSignature []byte
	ServerPubKeyBytes        []byte
}

type GetTokenRequestDto

type GetTokenRequestDto struct {
	ClientPubPKIXBytes []byte
}

type OsTypeDto

type OsTypeDto struct {
	Name string
}

type PingDto

type PingDto struct {
	Ping string
}

func (*PingDto) IsPong

func (p *PingDto) IsPong() bool

type StatsDto

type StatsDto struct {
	Path    string
	Exists  bool
	IsDir   bool
	ModTime time.Time
	Mode    os.FileMode
	Size    int64
}

type TempDirDto

type TempDirDto struct {
	TempDir string
}

type VersionDto added in v0.0.8

type VersionDto struct {
	Version string
}

Jump to

Keyboard shortcuts

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