notification

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

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerModule

type ConsumerModule struct {
	NotificationConsumer *kafkaPKG.Consumer
}

ConsumerModule

func NewConsumerModule

func NewConsumerModule(config *config.Config, logger *logger.Logger) *ConsumerModule

type NotificationService

type NotificationService interface {
	Start()
	Stop()
}

NotificationService provides methods for starting and stopping a notification service.

type ServerModule

type ServerModule struct {
	NotificationService NotificationService
}

ServerModule provides access to the functionality of notification server module.

func NewServerModule

func NewServerModule(config *config.Config, logger *logger.Logger) (*ServerModule, error)

NewServerModule is a construction function for ServerModule.

Jump to

Keyboard shortcuts

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