client

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCClient

type GRPCClient struct {
	Addr string
	// contains filtered or unexported fields
}

GRPCClient represents the grpc server

func NewClient

func NewClient() *GRPCClient

NewClient creates a new GRPCServer instance

func (*GRPCClient) Send

func (c *GRPCClient) Send(line string) error

Send sends the command to the server

func (*GRPCClient) Start

func (c *GRPCClient) Start(app *tview.Application, out *tview.TextView) error

Start the GRPCServer

func (*GRPCClient) Stop

func (c *GRPCClient) Stop(app *tview.Application, out *tview.TextView) error

Stop the grpc client

Jump to

Keyboard shortcuts

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