notifications

package
v1.3.1-0...-2eb6d4b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

main is the central entry point for the application and calls all the startup logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadRestRoutes added in v1.0.0

func LoadRestRoutes(r *echo.Echo, dic *di.Container, serviceName string)

func Main

func Main(ctx context.Context, cancel context.CancelFunc, router *echo.Echo, args []string)

Types

type Bootstrap

type Bootstrap struct {
	// contains filtered or unexported fields
}

Bootstrap contains references to dependencies required by the BootstrapHandler.

func NewBootstrap

func NewBootstrap(router *echo.Echo, serviceName string) *Bootstrap

NewBootstrap is a factory method that returns an initialized Bootstrap receiver struct.

func (*Bootstrap) BootstrapHandler

func (b *Bootstrap) BootstrapHandler(ctx context.Context, _ *sync.WaitGroup, _ startup.Timer, dic *di.Container) bool

BootstrapHandler fulfills the BootstrapHandler contract and performs initialization for the notifications service.

Directories

Path Synopsis
controller
infrastructure

Jump to

Keyboard shortcuts

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