You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
645 B

  1. # This is a TOML document. Boom.
  2. title = "TOML Example"
  3. [owner]
  4. name = "Tom Preston-Werner"
  5. organization = "GitHub"
  6. bio = "GitHub Cofounder & CEO\nLikes tater tots and beer."
  7. dob = 1979-05-27T07:32:00Z # First class dates? Why not?
  8. [database]
  9. server = "192.168.1.1"
  10. ports = [ 8001, 8001, 8002 ]
  11. connection_max = 5000
  12. enabled = true
  13. [servers]
  14. # You can indent as you please. Tabs or spaces. TOML don't care.
  15. [servers.alpha]
  16. ip = "10.0.0.1"
  17. dc = "eqdc10"
  18. [servers.beta]
  19. ip = "10.0.0.2"
  20. dc = "eqdc10"
  21. [clients]
  22. data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it