stream

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ephemeral added in v0.19.0

type Ephemeral struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewEphemeral added in v0.19.0

func NewEphemeral(ctx context.Context, nc *nats.Conn, stream *jsm.Stream, interval time.Duration, q chan *nats.Msg, log *logrus.Entry, opts ...jsm.ConsumerOption) (*Ephemeral, error)

func (*Ephemeral) Close added in v0.19.0

func (e *Ephemeral) Close()

func (*Ephemeral) SetResumeSequence added in v0.19.0

func (e *Ephemeral) SetResumeSequence(m *nats.Msg)

Jump to

Keyboard shortcuts

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