notifierserver

package
v0.0.0-...-13cc80a Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNotifierServer

func NewNotifierServer(appName string, configFileNameGrpcServer string, configFileNameWebServer string, configFileNameNotifier string, customConfigPath string) (*service.Service, error)

NewNotifierServer info, NOTE: notifier server grpc config should not favor public ip when deploy to aws, otherwise EC2 security groups cannot be used for inbound security permissions,

if notifier server is discovered via public ip, then inbound security group must be setup to indicate inbound ec2 ip address rather than its security groups

func Shutdown

func Shutdown(ctx context.Context) error

Shutdown gracefully shuts down the notifier server

func UnsubscribeAllTopics

func UnsubscribeAllTopics()

UnsubscribeAllTopics will clean up by unsubscribing all subscriptionArns from Topic list in config, this is call during notifier service shutdown to clean up

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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