cli

package
v0.0.0-...-7bcfc8b Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2016 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

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