gobind

package
v0.0.0-...-ca457d7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

README

Note

This code is for previous version of TapDance Android app, which doesn't create VPN for the whole phone, but merely binds proxy to a certain port. It still could be used in this mode by configuring apps(e.g. Firefox) to use local proxy on said port, however usability is quite limited and we consider this app to be Proof of Concept.

There is a plan to develop a new version of app, that would actually proxy all traffic.

Get gomobile

You'd need gomobile to compile GUI version:

go get golang.org/x/mobile/cmd/gomobile
gomobile init

Wrapper

To simply build proxybind.aar library for Android:

  cd ${GOPATH}/src/github.com/SergeyFrolov/gotapdance/gobind
  gomobile bind -target=android

Gradle Plugin

For convinience it is recommended to use Gobind gradle plugin, compatible with Android Studio.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLog

func GetLog() (out string)

func GetStats

func GetStats() (stats string)

func IsListening

func IsListening() (listening bool)

func Listen

func Listen() (err error)

func NewDecoyProxy

func NewDecoyProxy(listenPort int) (err error)

func Stop

func Stop() (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