grpctypes

package
v0.0.0-...-cd40d76 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 2 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
}

func NewClient

func NewClient(stream pb.Backconnectd_ConnectSessionClient) *Client

func (*Client) Recieve

func (c *Client) Recieve() ([]byte, error)

func (*Client) Send

func (c *Client) Send(data []byte) error

func (*Client) SendID

func (c *Client) SendID(id uuid.UUID) error

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(stream pb.Backconnectd_ConnectSessionServer) *Server

func (*Server) GetID

func (c *Server) GetID() (uuid.UUID, error)

func (*Server) Recieve

func (c *Server) Recieve() ([]byte, error)

func (*Server) Send

func (c *Server) Send(data []byte) error

Jump to

Keyboard shortcuts

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