github.com/TrueBlocks/trueblocks-core/src/apps/chifra@v0.0.0-20241022031540-b362680128f7/internal/daemon/doc.go (about)

     1  // Copyright 2016, 2024 The TrueBlocks Authors. All rights reserved.
     2  // Use of this source code is governed by a license that can
     3  // be found in the LICENSE file.
     4  /*
     5   * Parts of this file were auto generated. Edit only those parts of
     6   * the code inside of 'EXISTING_CODE' tags.
     7   */
     8  
     9  // daemonPkg implements the chifra daemon command.
    10  //
    11  // chifra daemon manages chifra's API server. Each of the chifra commands along with all of its options,
    12  // are provided not only by the command line, but also the API server. We call this process the
    13  // flame server, which is written in Go. chifra serve is an alias for the chifra daemon command.
    14  //
    15  // In the future, this daemon may also manage other long-running processes such as chifra scrape
    16  // and chifra monitors, but for now, it's only managing the API server.
    17  //
    18  // If the default port for the API server is in use, you may change it with the --url option.
    19  //
    20  // To get help for any command, please see the API documentation on our website. But, you may
    21  // also run chifra --help or chifra <cmd> --help on your command line to get help.
    22  //
    23  // See below for an example of converting command line options to a call to the API. There's a
    24  // one-to-one correspondence between the command line tools and options and the API routes and
    25  // their options.
    26  package daemonPkg