eventsmux

package
v3.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package eventsmux implements the events mux.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// Requests returns the channel for requests.
	Requests() chan<- protocol.Request
	// Responses returns the channel for responses.
	Responses() <-chan protocol.Response

	// Run runs the events mux.
	Run(context.Context) error
}

Interface is the interface for the events mux.

func New

func New(createSubs func(context.Context, func(error)) subscriptions.Interface) Interface

New returns a new Interface.

Jump to

Keyboard shortcuts

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