You've already forked gobuch-trainingfellow
mirror of
https://github.com/SourceFellows/trainingfellow.git
synced 2025-08-06 06:12:16 +02:00
Erweiterungen an der Dokumentation
This commit is contained in:
@ -7,7 +7,8 @@ import (
|
||||
"training-fellow.de/registrierung"
|
||||
)
|
||||
|
||||
func NewNotifier(url string) *notifier {
|
||||
//NewNotifier erzeugt eine neue Instanz eines RegistrierungsNotifier für die Kommunikation mit NATS
|
||||
func NewNotifier(url string) registrierung.RegistrierungsNotifier {
|
||||
return ¬ifier{url}
|
||||
}
|
||||
|
||||
@ -15,6 +16,7 @@ type notifier struct {
|
||||
url string
|
||||
}
|
||||
|
||||
//InformAboutNewRegistrierung informiert über eine neue Registrierung
|
||||
func (nn *notifier) InformAboutNewRegistrierung(registrierung *registrierung.Registrierung) error {
|
||||
|
||||
notifierLogger := log.WithField("Registrierung", registrierung)
|
||||
|
Reference in New Issue
Block a user