dtos

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 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 FsDeleteDto

type FsDeleteDto struct {
	Path string
}

type FsMoveDto

type FsMoveDto struct {
	OldRemotePath string
	NewRemotePath 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
}

Jump to

Keyboard shortcuts

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