client

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 6 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 {
	// contains filtered or unexported fields
}

Client is the client for connection between executor and peer

func New

func New(receiver io.ReadCloser, sender io.WriteCloser) *Client

New creates new client

func (*Client) Receive

func (c *Client) Receive() (interface{}, error)

Receive receives message

func (*Client) Send

func (c *Client) Send(msg interface{}) error

Send sends message

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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