Skip to content
Snippets Groups Projects
  1. Dec 07, 2023
    • gjahn's avatar
      Disable delaying/timeout for all routes state test · 348c6040
      gjahn authored
      Initially, that was done to prevent flaky test runs, which turned out
      to be caused by Fiber's behaviour (se previous commit).
      348c6040
    • gjahn's avatar
      Fix flaky routes state test · e231839d
      gjahn authored
      Using the Param "name" to create an Item and persist turns out to be
      affected bi Fiber's behaviour of "zero allocation", which means values
      may be re-used across requests/contexts.
      
      This caused wrong or chunked up Item names in the ephemeral state, which
      only surfaced during unit testing.
      
      For more details see https://docs.gofiber.io/#zero-allocation
      e231839d
  2. Nov 27, 2023
  3. Nov 25, 2023
  4. Nov 12, 2023
  5. Nov 06, 2023
  6. Nov 03, 2023
    • gjahn's avatar
      Teach root path HTML · a42a3ae8
      gjahn authored
      Depending on whats in the accept request header, the root
      path either response with a plain text or some nice HTML.
      a42a3ae8
    • gjahn's avatar
      Fix health endpoint · bf2ab576
      gjahn authored
      it appears that order matters; using ctx.JSON overrides c.Type; but
      instead of shuffling the lines around, the JSON string is generated
      by *foot*, which allows to keep header setting at the beginning of
      the function.
      bf2ab576
    • gjahn's avatar
      Add health route to indicate service healthiness · 196c33ae
      gjahn authored
      * add dependency to allow limiting possible values, though actual
        validation doesnt happen yet
      * make variable that indicates health local instead of global
      196c33ae
  7. Oct 31, 2023
  8. Oct 29, 2023
  9. Oct 24, 2023
  10. Oct 13, 2023
Loading