general.go 485 B

1234567891011121314151617
  1. package config
  2. type GeneralConfig struct {
  3. UserAgent string `toml:"user_agent"`
  4. FetchMessagesLimit int `toml:"fetch_messages_limit"`
  5. Mouse bool `toml:"mouse"`
  6. Timestamps bool `toml:"timestamps"`
  7. }
  8. func newGeneralConfig() GeneralConfig {
  9. return GeneralConfig{
  10. UserAgent: "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0",
  11. FetchMessagesLimit: 50,
  12. Mouse: true,
  13. Timestamps: false,
  14. }
  15. }