x

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModulesRegistrar

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

ModulesRegistrar represents the modules.Registrar that allows to register all custom Athena modules

func NewModulesRegistrar

func NewModulesRegistrar() *ModulesRegistrar

NewModulesRegistrar allows to build a new ModulesRegistrar instance

func (*ModulesRegistrar) BuildModules

func (r *ModulesRegistrar) BuildModules(ctx registrar.Context) modules.Modules

BuildModules implements modules.Registrar

func (*ModulesRegistrar) WithOptions

func (r *ModulesRegistrar) WithOptions(options RegistrarOptions) *ModulesRegistrar

WithOptions sets the given option inside this registrar

type RegistrarOptions

type RegistrarOptions struct {
	NotificationsBuilderCreator notificationsbuilder.NotificationsBuilderCreator
	NotificationsSenderCreator  notificationssender.NotificationsSenderCreator
	APIsRegistrar               apis.Registrar
	APIsConfigurator            apis.Configurator
}

func (RegistrarOptions) CreateNotificationsBuilder

func (RegistrarOptions) CreateNotificationsSender

func (RegistrarOptions) GetAPIsConfigurator

func (o RegistrarOptions) GetAPIsConfigurator() apis.Configurator

func (RegistrarOptions) GetAPIsRegistrar

func (o RegistrarOptions) GetAPIsRegistrar() apis.Registrar

Jump to

Keyboard shortcuts

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