relay

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Relay

type Relay struct {
	common.RWMutex
	// contains filtered or unexported fields
}

func NewRelay

func NewRelay(opt *options.RelayOptions) *Relay

func (*Relay) HandleMessage

func (r *Relay) HandleMessage(stream transmit.GrpcStream, msg *proto.Message)

func (*Relay) Run

func (r *Relay) Run() error

func (*Relay) RunAsync

func (r *Relay) RunAsync()

func (*Relay) SendMessage

func (r *Relay) SendMessage(stream proto.PdhService_TransmitServer, msg *proto.Message) error

Jump to

Keyboard shortcuts

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