...
Tawesoft Logo

Source file src/tawesoft.co.uk/go/grace/doc.go

Documentation: src/tawesoft.co.uk/go/grace/doc.go

     1  // tawesoft.co.uk/go/grace
     2  // 
     3  // Copyright © 2021 Tawesoft Ltd <open-source@tawesoft.co.uk>
     4  // Copyright © 2021 Ben Golightly <ben@tawesoft.co.uk>
     5  // 
     6  // Permission is hereby granted, free of charge, to any person obtaining a copy
     7  // of this software and associated documentation files (the "Software"), to deal
     8  // in the Software without restriction,  including without limitation the rights
     9  // to use,  copy, modify,  merge,  publish, distribute, sublicense,  and/or sell
    10  // copies  of  the  Software,  and  to  permit persons  to whom  the Software is
    11  // furnished to do so, subject to the following conditions:
    12  // 
    13  // The above copyright notice and this permission notice shall be included in all
    14  // copies or substantial portions of the Software.
    15  // 
    16  // THE SOFTWARE IS PROVIDED  "AS IS",  WITHOUT WARRANTY OF ANY KIND,  EXPRESS OR
    17  // IMPLIED,  INCLUDING  BUT  NOT LIMITED TO THE WARRANTIES  OF  MERCHANTABILITY,
    18  // FITNESS FOR A PARTICULAR PURPOSE  AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    19  // AUTHORS  OR COPYRIGHT HOLDERS  BE LIABLE  FOR ANY  CLAIM,  DAMAGES  OR  OTHER
    20  // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    21  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    22  // SOFTWARE.
    23  
    24  // Package grace implements a simple way to start multiple long-lived processes
    25  // (e.g. goroutines) with cancellation, signal handling and graceful shutdown.
    26  // 
    27  // Examples
    28  // 
    29  // Start HTTP servers on multiple ports with graceful shutdown
    30  //
    31  // https://www.tawesoft.co.uk/go/doc/grace/examples/multiportserver/
    32  //
    33  //
    34  // Package Information
    35  //
    36  // License: MIT (see LICENSE.txt)
    37  //
    38  // Stable: candidate
    39  //
    40  // For more information, documentation, source code, examples, support, links,
    41  // etc. please see https://www.tawesoft.co.uk/go and 
    42  // https://www.tawesoft.co.uk/go/grace
    43  package grace // import "tawesoft.co.uk/go/grace"
    44  
    45  // Code generated by internal. DO NOT EDIT.
    46  // Instead, edit DESC.txt and run mkdocs.sh.

View as plain text