Documentation
¶
Index ¶
- func CopyConn(src net.Conn, dstAddr string) error
- func GetLocalIP() string
- func GetLocalIPs() (ips []string)
- func GetSSHConnectIP() string
- func JsonFormatPrint(content []byte) error
- func JsonPrint(contents []string) error
- func SetWindowTitle(title string) (err error)
- func Upgrade(dummy bool, currentVersion string) (err error)
- type PasswordGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalIP ¶
func GetLocalIP() string
func GetLocalIPs ¶
func GetLocalIPs() (ips []string)
func GetSSHConnectIP ¶
func GetSSHConnectIP() string
func JsonFormatPrint ¶
func SetWindowTitle ¶
Types ¶
type PasswordGenerator ¶
type PasswordGenerator struct {
Passwd bool
DisabledDigital bool
DisabledLowercase bool
DisabledUppercase bool
DisabledPunctuation bool
PasswordLength int
}
func (*PasswordGenerator) GenPassword ¶
func (pg *PasswordGenerator) GenPassword() error
Click to show internal directories.
Click to hide internal directories.