package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jul 25, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Clash struct {
HttpPort string `json:"http_port"`
SocksPort string `json:"socks_port"`
RedirPort string `json:"redir_port"`
MixedPort string `json:"mixed_port"`
AllowLan bool `json:"allow_lan"`
Mode string `json:"mode"`
}
type Device struct {
Device string `json:"device"`
IP string `json:"ip"`
}
网络设备
type Dhcp struct {
HostName string `json:"host_name"`
IP string `json:"ip"`
Mac string `json:"mac"`
}
局域网 dhcp 设备
type NetWork struct {
HostName string `json:"host_name"`
Wan *Extranet `json:"wan"`
Lan []*Device `json:"lan"`
Devices []*Dhcp `json:"devices"`
}
type OpenWrt struct {
HostName string `json:"host_name"`
}
type Stat struct {
CpuTemp string `json:"cpu_temp"`
MemUsage string `json:"mem_usage"`
DiskUsage string `json:"disk_usage"`
RunningTime string `json:"running_time"`
BootTime string `json:"boot_time"`
NowTime string `json:"now_time"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.