Categorygithub.com/hailooss/hshell
modulepackage
0.0.0-20170217133455-70bc59430108
Repository: https://github.com/hailooss/hshell.git
Documentation: pkg.go.dev

# README

platform-cli

Build: go get github.com/HailoOSS/platform-cli/hshell

Usage: hshell flag interface

Example:

hshell -protobuf=github.com/HailoOSS/go-platform-layer/examples/sayhello -endpoint="com.HailoOSS.service.helloworld.sayhello" -request="Name: proto.String(\"Moddie\")"  -update=false -hint=false -default=false

Explain:

-protobuf The protobuf to import (as you would put in your go imports)

-endpoint The endpoint you want to hit

-request The request object to send (try -hint=true to see what this should look like before sending)

-hint this will not send anything but will give you an example protobuf object

-update This will update the client, protobuf lib and the protobuf file from the network

-default If true, sends a default request as parsed from the protos

-h Usage info

hshell console

Example:

hshell -cli=true

use the help command for more information about hshell console

Example usage:

ls //lists services use {service} //sets a service as the service of interest ls //lists endpoints of service of interest execute {endpoint} {json content} //executes the endpoint profit //invalid command

# Packages

quick and dirty test script for the broker prototypesThis measures client side CPU and request response timings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
Creates a temporary go directory in os.TempDir.
No description provided by the author
No description provided by the author
runs go get on the import path.
@FIXME This function needs to be rewritten once live is migrated.
sends a json request on to rabbit.
sends a json request on to rabbit.
sends a json request on to rabbit.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author