Skip to content

baiyidujiang111/LicenseServer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

LicenseServer

client control commands

Control commands is ascii encoded.
Client requests(70 Bytes, fixed-length):

HELO.$UID.$KEY # tell server that client process is up
GBYE.$UID.$KEY # tell server that client is offline

Server response(4 Bytes, fixed-length):

NKEY # key invalid
FULL # no sparing slot
NCMD # invalid command
GOOD # good to go
THNX # bye bye

server RESTful API

/db

Get current database, including all key, uid, last_seen, and max.

/gen
/gen/:max

Generate new key, where max is optional.

/del/:key

Delete one existing key.

/del/:key/:uid

Delete one existing uid

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.3%
  • Java 44.4%
  • CSS 0.3%