Socket
Book a DemoInstallSign in
Socket

oh-proto

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

oh-proto

## `connect` 网络连接和配置

unpublished
latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Command API

connect

网络连接和配置

用法

  • 线路连接: connect -a AREA -c COMPUTER_MODE -p PROXY_MODE -s STELLAR_MODE
    • connect -a HKG -c off -p global -s on: 香港 + 电脑关闭模式 + 代理全局模式 + 开启Stellar Proxy
    • connect -a HKG -c off -p allowlist -s on: 香港 + 电脑关闭模式 + 代理允许模式 + 开启Stellar Proxy
    • connect -a NRT -c allowlist -p allowlist -s on: 东京成田 + 电脑允许模式 + 代理允许模式 + 开启Stellar Proxy
    • connect -a NRT -c off -p off -s off: 全部关闭
  • 线路测试: connect -test -test-url https://google.com
  • 线路状态: connect -state

参数

参数含义默认
-aarea
-ccomputer mode [global|allowlist|denylist|off]
-pproxy mode [global|allowlist|denylist|off]
-sstellar mode [on|off]
-state显示线路状态false
-test是否测试线路false
-share-http是否分享http(proxy地址设为0.0.0.0)false
-test-url测试线路用的urlhttps://google.com

db

数据库操作

用法

  • db list: List all db keys
  • db get KEY: Get value of KEY
  • db del KEY: Del KEY
  • db set KEY VALUE: Set KEY with VALUE

login

  • login
    • login username password:

FAQs

Package last updated on 18 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts