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() SrvrmgrStatus ExecuteCommand(cmd string) (string, error) }
SrvrMgr is a public interface for the srvrmgr struct.
func NewSrvrmgr ¶
NewSrvrmgr returns a new srvrmgr struct for provided connection command.
type SrvrmgrStatus ¶ added in v0.4.1
type SrvrmgrStatus int
SrvrmgrStatus is an enumeration of srvrmgr statuses that represent a simple value.
const ( Disconnected SrvrmgrStatus Connecting Disconnecting Connected ConnectionError )
Possible values for the SrvrmgrStatus enum.
func (SrvrmgrStatus) String ¶ added in v0.4.1
func (s SrvrmgrStatus) String() string
String return string representation on SrvrmgrStatus value
Click to show internal directories.
Click to hide internal directories.