owc-insight

command module
v0.0.0-...-2356f49 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

owc-insight

openwechat insight

Features

  • Using the industry best practices, e.g., machine-readable&analyzable logging.
  • Trying to be as considerate/user-friendly as possible. E.g., display QR Code right in terminal, and even in small 80x25 size windows:
    image
  • Make every possible effort to be robust and fault-tolerance. E.g., trying to recover from any temporary failures:
    image
  • Using every possible attempt to stay alive & connected, while making the approach discreet (undetectable from the server end). E.g., stay-alive in debug mode:
    image

Execution

Fault-tolerance execution loop, until no longer able to do hot relogin:

while :; do OWCI_LOG=2 owc-insight ; [ $? -eq 9 ] && break; sleep 5m; done; rm storage.json; echo "Down at `date`", send Down Alert

image

This has been running for the whole day and is still going strong.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

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