demo

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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