simplechannel

package
v0.0.0-...-834ce46 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelAdapter

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

func New

func New(done <-chan bool, wg *sync.WaitGroup) *ChannelAdapter

func (*ChannelAdapter) GetInputChannel

func (ca *ChannelAdapter) GetInputChannel(name string) (chan<- []byte, error)

func (*ChannelAdapter) GetMode

func (ca *ChannelAdapter) GetMode(name string) (channel.Mode, error)

func (*ChannelAdapter) GetOutputChannel

func (ca *ChannelAdapter) GetOutputChannel(name string) (<-chan channel.Message, error)

func (*ChannelAdapter) NewChannel

func (ca *ChannelAdapter) NewChannel(name string, mode channel.Mode, bufferSize, maxRetryPolicy int) error

Jump to

Keyboard shortcuts

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