utils

package
v0.0.0-...-2660863 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLockFile

func CreateLockFile() error

func GetConfigDir

func GetConfigDir() (configDir string, err error)

func GetDeviceIcon

func GetDeviceIcon(device *network.Device) string

func LoadKnownDevices

func LoadKnownDevices() (knownDevices []*engine.KnownDevice, err error)

func LoadPrivateKey

func LoadPrivateKey() (priv *crypto.PrivateKey, err error)

func MountSftp

func MountSftp(host string, port int, username string, password string) error

func NotifyLockingPid

func NotifyLockingPid() error

func SaveKnownDevices

func SaveKnownDevices(knownDevices []*engine.KnownDevice) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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