Affected by GO-2022-0606
and 2 other vulnerabilities
GO-2022-0606: Command Injection in CasaOS in github.com/IceWhaleTech/CasaOS
GO-2023-1931: CasaOS contains weak JWT secrets in github.com/IceWhaleTech/CasaOS
GO-2023-2026: CasaOS Command Injection vulnerability in github.com/IceWhaleTech/CasaOS
package
Version:
v0.2.7
Opens a new window with list of versions in this module.
Published: Jan 26, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
定义一个int的别名
const (
DEBUG Level = iota
INFO
WARN
ERROR
FATAL
)
iota在const关键字出现时将被重置为0(const内部的第一行之前),const中每新增一行常量声明将使iota计数一次(iota可理解为const语句块中的行索引)。
type OLog interface {
Debug(v ...interface{})
Info(v ...interface{})
Warn(v ...interface{})
Error(v ...interface{})
Fatal(v ...interface{})
Path() string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.