mux

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mux implements a multiplexed input controller.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(
	ctx context.Context,
	deps resource.Dependencies,
	conf resource.Config,
	logger logging.Logger,
) (input.Controller, error)

NewController returns a new multiplexed input.Controller.

Types

type Config

type Config struct {
	resource.TriviallyValidateConfig
	Sources []string `json:"sources"`
}

Config is used for converting config attributes.

Jump to

Keyboard shortcuts

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