libv2ray

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

README

简介

v2ray 的 gomobile 绑定, 目前只支持 Android

函数

  • Start(jsonConfig string) error 启动 V2ray
  • Stop() 停止 V2ray
  • Status() int 返回 V2ray 的状态, -1 则是未启动

编译

要求

  • gomobile 和 gobind 已在环境变量中

开始编译:

make android

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(jsonConfig string) (err error)

Start v2ray Sevice

func Status added in v0.1.0

func Status() int

func Stop

func Stop()

Stop v2ray Sevice

Types

This section is empty.

Directories

Path Synopsis
distro
all

Jump to

Keyboard shortcuts

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