Listen an a defined list of adresses #1

Closed
opened 2025-12-09 12:25:52 +00:00 by bihe · 1 comment
bihe commented 2025-12-09 12:25:52 +00:00 (Migrated from github.com)

github.com/bihe/cronlogger@7f8bb7c058/cmd/server/main.go (L145)

Change the startServer function in a way that slict of address-strings are used and listeners are started for the individual adresses in the slice.
The server/listener only starts/runs if all listeners are successful. If one listener breaks, the whole server process breaks (panics).

https://github.com/bihe/cronlogger/blob/7f8bb7c0580b01b65b8203ae0ac9c262988c58b9/cmd/server/main.go#L145 Change the startServer function in a way that slict of address-strings are used and listeners are started for the individual adresses in the slice. The server/listener only starts/runs if all listeners are successful. If one listener breaks, the whole server process breaks (panics).
Owner

No need because of changed approach with GRPC

No need because of changed approach with GRPC
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
henrik/cronlogger#1
No description provided.