Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct { Server Server `toml:"server"` Queue Queue `toml:"queue"` Logger Logger `toml:"logger"` }
Common - root of configuration
type Server ¶
type Server struct { IP string `toml:"ip"` Port string `toml:"port"` InLocation string `toml:"in_location"` OutLocation string `toml:"out_location"` AmountOfSequentiallyErrorToBreak int `toml:"amount_of_sequentially_error_to_break"` ThrottleDurationMs int `toml:"throttle_duration_ms"` SleepAfterErrorDurationMs int `toml:"sleep_after_error_duration_ms"` }
Server - websocket server configuration
Click to show internal directories.
Click to hide internal directories.