Documentation
¶
Index ¶
Constants ¶
View Source
const CLI_GREETING = "> "
Variables ¶
This section is empty.
Functions ¶
func ObtainClient ¶
func ObtainClient(host string, port int) (*client.GhostClient, error)
Function returns ghost-client on successfull connection to server and error with description otherwise.
func ObtainUnixSocketClient ¶
func ObtainUnixSocketClient(socket string) (*client.GhostClient, error)
Obtain client instance working over unix file socket.
func StartCliSession ¶
func StartCliSession(c *client.GhostClient)
initialize endless cli-session with provided client as a connection to ghost-server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.