eventsource

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JetstreamSourceConn

type JetstreamSourceConn struct {
	*jetstreambase.JetstreamConnection
	// contains filtered or unexported fields
}

func CreateJetstreamSourceConn

func CreateJetstreamSourceConn(conn *jetstreambase.JetstreamConnection, eventSourceName string) *JetstreamSourceConn

func (*JetstreamSourceConn) Close added in v1.9.0

func (conn *JetstreamSourceConn) Close() error

func (*JetstreamSourceConn) IsClosed added in v1.9.0

func (conn *JetstreamSourceConn) IsClosed() bool

func (*JetstreamSourceConn) Publish

type SourceJetstream

type SourceJetstream struct {
	*jetstreambase.Jetstream
	// contains filtered or unexported fields
}

func NewSourceJetstream

func NewSourceJetstream(url, eventSourceName string, streamConfig string, auth *eventbuscommon.Auth, logger *zap.SugaredLogger) (*SourceJetstream, error)

func (*SourceJetstream) Connect

func (*SourceJetstream) Initialize

func (n *SourceJetstream) Initialize() error

Jump to

Keyboard shortcuts

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