8000 GitHub - tozik/FloxcoreXrayKit: XrayKit for Floxcore
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tozik/FloxcoreXrayKit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XrayKit

Release

Download

Usage

import XrayKit

/* Start XrayCore */
let configurationFile = FileManager.default.temporaryDirectory.appendingPathComponent("xray").appendingPathExtension("json")
// Write Xray configuration to configurationFile

let geoip = Bundle.main.url(forResource: "geoip", withExtension: "dat")!
let assets = geoip.deletingLastPathComponent()

XRayCore.run(configuration: configuratonFile, assets: assets) { error in
    if let error = error {
        // Present error
    }
}

/* Stop XrayCore */
XRayCore.quit()

About

XrayKit for Floxcore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 70.8%
  • Makefile 28.9%
  • C 0.3%
0