Documentation ¶
Overview ¶
@Author: LinkLeong link@icewhale.com
*@Date: 2022-02-17 18:53:22 *@LastEditors: LinkLeong *@LastEditTime: 2022-09-06 14:27:42 *@FilePath: /CasaOS/types/system.go *@Description: *@Website: https://www.casaos.io *Copyright (c) 2022 by icewhale, All Rights Reserved.
Index ¶
Constants ¶
View Source
const ( FRIENDSTATEDEFAULT = iota FRIENDSTATEWAIT FRIENDSTATEREQUEST )
View Source
const ( NOTIFY_DYNAMICE = iota NOTIFY_UNREAD NOTIFY_READ )
View Source
const ( NOTIFY_TYPE_UNIMPORTANT = iota + 1 NOTIFY_TYPE_NEED_CONFIRM NOTIFY_TYPE_ERROR NOTIFY_TYPE_INSTALL_LOG NOTIFY_TYPE_PERSION_FIRNED_LEAVE NOTIFY_TYPE_PERSION_FIRNED_LIVE NOTIFY_TYPE_HEALTH_CHECK )
View Source
const ( PERSONFILEDOWNLOAD = iota //default state PERSONFILEUPLOAD PERSONFILERECEIVEUPLOAD //receive upload file )
View Source
const ( DOWNLOADAWAIT = iota //default state DOWNLOADING DOWNLOADPAUSE DOWNLOADFINISH DOWNLOADERROR DOWNLOADFINISHED )
View Source
const ( APPLICATION = iota MEDIA PICTURE MUSIC SEARCH UNKNOWN )
View Source
const ( TASK_TYPE_USER = iota TASK_TYPE_APP )
View Source
const ( TASK_DATA_TYPE_LINK = iota TASK_DATA_TYPE_TEXT )
View Source
const ( TASK_STATE_UNCOMPLETE = iota TASK_STATE_COMPLETED )
View Source
const BODY = " "
View Source
const CURRENTVERSION = "0.3.7"
View Source
const (
NOTIFY_APP = iota
)
View Source
const PERSONADDFRIEND = "add_user"
View Source
const PERSONAGREEFRIEND = "agree_user"
View Source
const PERSONCANCEL = "cancel" // Cancel Download
View Source
const PERSONCONNECTION = "connection"
View Source
const PERSONDIRECTORY = "directory"
View Source
const PERSONDOWNLOAD = "file_data"
View Source
const PERSONGETIP = "get_ip"
View Source
const PERSONHELLO = "hello"
View Source
const PERSONIMAGETHUMBNAIL = "image_thumbnail"
View Source
const PERSONINTERNALINSPECTION = "internal_inspection"
View Source
const PERSONPING = "ping"
View Source
const PERSONSHAREID = "share_id"
View Source
const PERSONSUMMARY = "summary"
View Source
const PERSONUPLOAD = "upload"
View Source
const PERSONUPLOADDATA = "upload_data"
View Source
const RELY_TYPE_MYSQL = iota
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.