FAQ

On 2016-03-17 04:13, Ranjib Dey wrote:
Do you want this to be implemented in pure go? On linux, systemd does
socket activation, which allows the socket/FD to be managed
independently and passed on to the net.Listerner [1]. This should allow
you to swap the whole binary.
Yes... that would be an option.

It seems to me that calling .File() is just best avoided and Listeners
are best created via FileListener() when you have the FD in advance (for
instance from systemd).

/Peter

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 14 of 21 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMar 16, '16 at 10:04a
activeMar 30, '16 at 10:56a
posts21
users6
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase