event_hub

package
v0.0.0-...-0cd63e0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: GPL-3.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHub

type EventHub struct {
	Svc model.IService
	// contains filtered or unexported fields
}

func (*EventHub) Start

func (e *EventHub) Start(ctx context.Context, wg *sync.WaitGroup)

type EventHubConfig

type EventHubConfig struct {
	Connection   string `yaml:"connection"`
	EventHubName string `yaml:"EventHubName"`
	LogLevel     int    `yaml:"LogLevel"`
}

type EventHubLight

type EventHubLight struct {
	Svc model.IService
	// contains filtered or unexported fields
}

func (*EventHubLight) Start

func (ehl *EventHubLight) Start(ctx context.Context, wg *sync.WaitGroup)

type IEventHub

type IEventHub interface {
	Start(ctx context.Context, wg *sync.WaitGroup)
}

func NewEventHub

func NewEventHub(svc model.IService, conf EventHubConfig) (IEventHub, error)

func NewEventHubLight

func NewEventHubLight(svc model.IService, conf EventHubConfig) (IEventHub, error)

Jump to

Keyboard shortcuts

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