Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPort = 21991
View Source
var Done = make(chan bool, 1)
Make this true if you want to quit
View Source
var ProgramDir string
Where the default program directory is
Functions ¶
func CopyFile ¶
NOTE: I *NEVER* copy from stack overflow XXX: Link for me later: http://stackoverflow.com/questions/21060945/simple-way-to-copy-a-file-in-golang CopyFile copies a file from src to dst. If src and dst files exist, and are the same, then return success. Otherise, attempt to create a hard link between the two files. If that fail, copy the file contents from src to dst.
func DoesUserExist ¶
Check if user exists TODO: Protect against usernames like "/" or " ", that could just go to keybase.io
Types ¶
Click to show internal directories.
Click to hide internal directories.