pulsar

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pulsar

type Pulsar struct {
	Client          pulsar.Client
	Address         string
	Topic           *string
	Name            *string
	AuthToken       *string
	AuthTokenFile   *string
	AuthCertPath    *string
	AuthKeyPath     *string
	AuthOAuthParams *map[string]string
	// TLS
	TLSTrustCertsFilePath      *string
	TLSAllowInsecureConnection *bool
	TLSValidateHostname        *bool
}

func (*Pulsar) Cleanup

func (d *Pulsar) Cleanup() error

func (*Pulsar) Init

func (d *Pulsar) Init() error

func (*Pulsar) LoadEnv

func (d *Pulsar) LoadEnv(prefix string) error

func (*Pulsar) LoadFlags

func (d *Pulsar) LoadFlags() error

func (*Pulsar) Push

func (d *Pulsar) Push(r io.Reader) error

Jump to

Keyboard shortcuts

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