route

package
v0.3.3-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

* @Author: LinkLeong link@icewhale.com * @Date: 2022-07-01 15:11:36 * @LastEditors: LinkLeong * @LastEditTime: 2022-07-01 15:16:00 * @FilePath: /CasaOS/route/periodical.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-27 15:55:36 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-29 16:47:19 * @FilePath: /CasaOS/route/periodical.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-23 17:18:56 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-09 21:48:10 * @FilePath: /CasaOS/route/socket.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

* @Author: LinkLeong link@icewhale.com * @Date: 2022-06-23 17:27:43 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-23 17:27:48 * @FilePath: /CasaOS/route/ui.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

Index

Constants

This section is empty.

Variables

View Source
var OnlineDemo bool = false

Functions

func ChangeAPIUrl added in v0.3.1

func ChangeAPIUrl()

0.3.1

func CheckSerialDiskMount added in v0.2.3

func CheckSerialDiskMount()

func CheckToken2_11 added in v0.3.0

func CheckToken2_11()

func ImportApplications added in v0.3.1

func ImportApplications()

func InitFunction

func InitFunction()

func InitRouter

func InitRouter() *gin.Engine

func MoveUserToDB added in v0.3.3

func MoveUserToDB()

0.3.3 Transferring user data to the database

func SendAllHardwareStatusBySocket added in v0.3.3

func SendAllHardwareStatusBySocket()

func SendCPUBySocket added in v0.3.2

func SendCPUBySocket()

func SendDiskBySocket added in v0.3.2

func SendDiskBySocket()

func SendMemBySocket added in v0.3.2

func SendMemBySocket()

func SendNetINfoBySocket added in v0.3.2

func SendNetINfoBySocket()

func SendUSBBySocket added in v0.3.2

func SendUSBBySocket()

func ShellInit added in v0.3.3

func ShellInit()

func SocketInit added in v0.3.2

func SocketInit(msg chan notify.Message)

func WebUIHome

func WebUIHome(c *gin.Context)

Types

This section is empty.

Directories

Path Synopsis
* @Author: LinkLeong link@icewhale.com * @Date: 2021-09-30 18:18:14 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-15 14:30:05 * @FilePath: /CasaOS/route/v1/shortcuts.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
* @Author: LinkLeong link@icewhale.com * @Date: 2021-09-30 18:18:14 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-15 14:30:05 * @FilePath: /CasaOS/route/v1/shortcuts.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL