2022-03-11 10:01:09 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
const PERSONADDFRIEND = "add_user"
|
2022-05-05 05:46:55 +00:00
|
|
|
const PERSONAGREEFRIEND = "agree_user"
|
2022-03-18 03:13:07 +00:00
|
|
|
const PERSONDOWNLOAD = "file_data"
|
|
|
|
const PERSONSUMMARY = "summary"
|
2022-05-05 05:46:55 +00:00
|
|
|
const PERSONGETIP = "get_ip"
|
2022-03-18 03:13:07 +00:00
|
|
|
const PERSONCONNECTION = "connection"
|
|
|
|
const PERSONDIRECTORY = "directory"
|
|
|
|
const PERSONHELLO = "hello"
|
2022-05-05 05:46:55 +00:00
|
|
|
const PERSONSHAREID = "share_id"
|
|
|
|
const PERSONUPLOAD = "upload"
|
|
|
|
const PERSONUPLOADDATA = "upload_data"
|
|
|
|
const PERSONINTERNALINSPECTION = "internal_inspection"
|
|
|
|
const PERSONPING = "ping"
|
|
|
|
const PERSONIMAGETHUMBNAIL = "image_thumbnail"
|
|
|
|
|
2022-04-06 04:10:51 +00:00
|
|
|
const PERSONCANCEL = "cancel" // Cancel Download
|
2022-05-05 05:46:55 +00:00
|
|
|
|
|
|
|
const (
|
|
|
|
PERSONFILEDOWNLOAD = iota //default state
|
|
|
|
PERSONFILEUPLOAD
|
|
|
|
PERSONFILERECEIVEUPLOAD //receive upload file
|
|
|
|
)
|