Documentation ¶ Index ¶ func RunGrpc(url string) func RunTcp(url string) type DemoGrpc func NewDemoGrpcCli(conn *grpc.ClientConn) *DemoGrpc func (p *DemoGrpc) GetCmd() *ishell.Cmd type DemoTcp func NewTcpCli(conn net.Conn) *DemoTcp func (dz *DemoTcp) GetCmd() *ishell.Cmd Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RunGrpc ¶ func RunGrpc(url string) func RunTcp ¶ func RunTcp(url string) Types ¶ type DemoGrpc ¶ type DemoGrpc struct { // contains filtered or unexported fields } func NewDemoGrpcCli ¶ func NewDemoGrpcCli(conn *grpc.ClientConn) *DemoGrpc func (*DemoGrpc) GetCmd ¶ func (p *DemoGrpc) GetCmd() *ishell.Cmd type DemoTcp ¶ type DemoTcp struct { // contains filtered or unexported fields } func NewTcpCli ¶ func NewTcpCli(conn net.Conn) *DemoTcp func (*DemoTcp) GetCmd ¶ func (dz *DemoTcp) GetCmd() *ishell.Cmd Source Files ¶ View all Source files grpc_cli.go shell.go tcp_cli.go Click to show internal directories. Click to hide internal directories.