stream

package
v0.0.0-...-4c419ba Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknown = errors.New("unknown error")
)

Functions

func InterceptorLogger

func InterceptorLogger(l *log.Logger) logging.Logger

Types

type StreamClient

type StreamClient interface {
	Close()
	PublishMessage(chatId, userId, content string) error
	GetSubscribeStream() pb.TransistorService_SubscribeClient
}

func NewStreamClient

func NewStreamClient(pubaddr, subaddr string) (StreamClient, error)

Jump to

Keyboard shortcuts

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