Documentation ¶
Index ¶
- Constants
- func AddOSconfig(upd Dbconfigs) error
- func ChangeOSconfigStatus(id int, status int) error
- func CheckOSConnect(host string, port string, protocol string, username string, password string) error
- func CheckOsExists(upd Dbconfigs) int
- func CountOSconfig(condArr map[string]string) int64
- func DeleteOSconfig(ids string) error
- func GetOSconfig(id int) (Dbconfigs, error)
- func ListAllOSconfig() (osconf []Dbconfigs)
- func ListOSconfig(condArr map[string]string, page int, offset int) (num int64, err error, osconf []Dbconfigs)
- func UpdateOSconfig(id int, upd Dbconfigs) error
- type TelnetClient
Constants ¶
View Source
const ( //经过测试,嵌入式设备下,延时大概需要大于300ms TIME_DELAY_AFTER_WRITE = 300 //300ms )
Variables ¶
This section is empty.
Functions ¶
func CheckOSConnect ¶
func CheckOsExists ¶
func CheckOsExists(upd Dbconfigs) int
func DeleteOSconfig ¶
func ListAllOSconfig ¶
func ListAllOSconfig() (osconf []Dbconfigs)
Types ¶
Click to show internal directories.
Click to hide internal directories.