Explorar el Código

Support $schema in configuration file

世界 hace 2 años
padre
commit
7d22cf9b45
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      option/config.go

+ 1 - 0
option/config.go

@@ -9,6 +9,7 @@ import (
 )
 
 type _Options struct {
+	Schema       string               `json:"$schema,omitempty"`
 	Log          *LogOptions          `json:"log,omitempty"`
 	DNS          *DNSOptions          `json:"dns,omitempty"`
 	NTP          *NTPOptions          `json:"ntp,omitempty"`