simpleshell

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.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 Client

type Client struct {
	ConnectAddr string
	ConnectPort int
}

func (*Client) Init

func (shellClient *Client) Init(ipAddr string, port int, isClient bool) bool

func (*Client) Run

func (shellClient *Client) Run(timeout int)

type Server

type Server struct {
	Listener net.Listener
}

func (*Server) Init

func (shellServer *Server) Init(ipAddr string, port int, isClient bool) bool

func (*Server) Run

func (shellServer *Server) Run(timeout int)

Jump to

Keyboard shortcuts

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