mirror of
https://github.com/aljazceru/khatru.git
synced 2026-01-12 09:54:21 +01:00
570912e752617f6eb83f2ea41fe6c35d4a1e5508
the Start function always assumes there are environment variables such as HOST and PORT on start up. this is not always desirable and especially makes it hard to run independent tests concurrently. this commit introduces StartConf, an alternative to Start where the same settings like host and port are passed in a function argument instead of the global process environment.
Languages
Go
100%