Skip to content

toolsmax0/v2ray-sqlite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V2ray-sqlite

A tool to store and print traffic status into sqlite 3.
Every time executed, this program will store the traffic status into the database and clear the records in v2ray. Then the program will print the traffic status in a table.

Config

Config file is written in YAML. See the commands in comfig_sample.yml.

Table Schema

CREATE TABLE traffic( user TEXT, type TEXT, value INTEGER, PRIMARY KEY (user,type));

Arguments

  • -reset : to reset the records in the database
  • -config = FILE : path to config file

About

store v2ray traffic stats into SQLite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%