Documentation ¶ Index ¶ Variables func NewMultiWithConfig(conf *Config) (stream.Handler, error) type Config type Multi func NewMulti(multi []stream.Handler) *Multi func (m *Multi) ServeStream(ctx context.Context, stm stream.Stream) Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNotHandler = fmt.Errorf("not handler") ) Functions ¶ func NewMultiWithConfig ¶ func NewMultiWithConfig(conf *Config) (stream.Handler, error) Types ¶ type Config ¶ type Config struct { Multi []stream.Handler } type Multi ¶ type Multi struct { // contains filtered or unexported fields } func NewMulti ¶ func NewMulti(multi []stream.Handler) *Multi func (*Multi) ServeStream ¶ func (m *Multi) ServeStream(ctx context.Context, stm stream.Stream) Source Files ¶ View all Source files init.go multi.go Click to show internal directories. Click to hide internal directories.