signaling

package
v0.0.0-...-61b8474 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignalingController

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

func NewSignalingController

func NewSignalingController(addr string, logger *zap.Logger, opts ...grpc.ServerOption) *SignalingController

func (*SignalingController) Publish

func (sc *SignalingController) Publish(ctx context.Context, req *signaling.PublishRequest) (*signaling.PublishResponse, error)

func (*SignalingController) Start

func (sc *SignalingController) Start(ctx context.Context) error

func (*SignalingController) Subscribe

func (sc *SignalingController) Subscribe(req *signaling.SubscribeRequest, stream signaling.Signaling_SubscribeServer) error

func (*SignalingController) Unsubscribe

func (sc *SignalingController) Unsubscribe(ctx context.Context, request *api.UnsubscribeRequest) (*api.UnsubscribeResponse, error)

Jump to

Keyboard shortcuts

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