Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SrvrMgr ¶
type SrvrMgr interface { Connect() error Disconnect() error GetStatus() Status ExecuteCommand(cmd string) (string, error) }
SrvrMgr is a public interface for the srvrmgr struct (https://stackoverflow.com/a/53034166).
func NewSrvrmgr ¶
NewSrvrmgr returns a new srvrmgr struct for provided connection command.
Click to show internal directories.
Click to hide internal directories.