• Miek Gieben's avatar
    Allow for UDP servers (#935) · 9315738d
    Miek Gieben authored
    * Allow for UDP servers
    
    Extend the Server interface with ServePacket and ListenPacket - this is
    in the same vein as the net package.
    
    Plumb the packetconn through the start and restart phases.
    
    Rename RestartPair to RestartTriple as it now also contains a Packet.
    Not that these can now be nil, so we need to check for that when
    restarting.
    
    * Update the documentation
    9315738d
caddy.go 22.3 KB