Skip to content

lneoe/carpenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go

carpenter

carpenter is a user management tool for trojan

usage

$ export DB_DSN="user:password@(host:port)/dbname"
$ carpenter user --dsn=$DB_DSN create -u test1 -p raw_pwd_for_test1 -q 10
$ carpenter user --dsn=$DB_DSN list
id      username        download        upload  quota
13      test1   0.00GB  0.00GB  -0.00GB
14      test2   0.00GB  0.00GB  -0.00GB
15      test3   0.00GB  0.00GB  -0.00GB
$ carpenter user --dsn=$DB_DSN delete --id=15

build

$ make build
$ ls ./bin
carpenter

# build cross platform
$ GOOS=linux GOARCH=amd64 make build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published