cmdc

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHost

func AddHost(ip, hostname string) bool

func Bash

func Bash(command string) error

func BashBytes

func BashBytes(command string) ([]byte, error)

func BashString

func BashString(command string) (string, error)

func DelHost

func DelHost(hostname string) bool

func GenHost

func GenHost(index uint64) string

func RcoHost

func RcoHost() bool

func RepHost

func RepHost(oldIp, newIp string) bool

func Shell

func Shell(command string) error

func ShellBytes

func ShellBytes(command string) ([]byte, error)

func ShellString

func ShellString(command string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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