Skip to content

sun8911879/socks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socks

socks is a simple Go library to toggle on and off socks for Mac OS X. It will extract a helper tool and use it to actually chage socks setting.

socks.EnsureHelperToolPresent(fullPath, prompt, iconFullPath)
socks.On(SocksIP,SocksPort string)
socks.Off()

See 'example/main.go' for detailed usage.

Embedding socks-cmd

pac uses binaries from the socks-cmd project.

Thanks lantern project

pac-cmd pac

About

A simple Go library to toggle on and off system socks for Mac OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages