Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckVersion ¶
func CheckVersion() int
CheckVersion int This func will return libv2ray binding version.
func CheckVersionX ¶
func CheckVersionX() string
CheckVersionX string This func will return libv2ray binding version and V2Ray version used.
Types ¶
type V2RayPoint ¶
type V2RayPoint struct { SupportSet V2RayVPNServiceSupportsSet PackageName string PackageCodePath string DomainName string ConfigureFileContent string EnableLocalDNS bool ForwardIpv6 bool ProxyOnly bool // contains filtered or unexported fields }
V2RayPoint V2Ray Point Server This is territory of Go, so no getter and setters!
func NewV2RayPoint ¶
func NewV2RayPoint(s V2RayVPNServiceSupportsSet) *V2RayPoint
NewV2RayPoint new V2RayPoint
func (*V2RayPoint) GetIsTRunning ¶
func (v *V2RayPoint) GetIsTRunning() bool
func (V2RayPoint) QueryStats ¶
func (v V2RayPoint) QueryStats(tag string, direct string) int64
Delegate Funcation
func (*V2RayPoint) StopLoop ¶
func (v *V2RayPoint) StopLoop() (err error)
StopLoop Stop V2Ray main loop
Click to show internal directories.
Click to hide internal directories.