| 1 |
# https://github.com/toml-lang/toml#example |
| 2 |
# This is a TOML document. |
| 3 |
|
| 4 |
title = "TOML Example" |
| 5 |
|
| 6 |
[owner] |
| 7 |
name = "Tom Preston-Werner" |
| 8 |
dob = 1979-05-27T07:32:00-08:00 # First class dates |
| 9 |
|
| 10 |
[database] |
| 11 |
server = "192.168.1.1" |
| 12 |
ports = [ 8001, 8001, 8002 ] |
| 13 |
connection_max = 5000 |
| 14 |
enabled = true |
| 15 |
|
| 16 |
[servers] |
| 17 |
|
| 18 |
# Indentation (tabs and/or spaces) is allowed but not required |
| 19 |
[servers.alpha] |
| 20 |
ip = "10.0.0.1" |
| 21 |
dc = "eqdc10" |
| 22 |
|
| 23 |
[servers.beta] |
| 24 |
ip = "10.0.0.2" |
| 25 |
dc = "eqdc10" |
| 26 |
|
| 27 |
[clients] |
| 28 |
data = [ ["gamma", "delta"], [1, 2] ] |
| 29 |
|
| 30 |
# Line breaks are OK when inside arrays |
| 31 |
hosts = [ |
| 32 |
"alpha", |
| 33 |
"omega" |
| 34 |
] |