Support $schema in configuration file

This commit is contained in:
世界 2023-03-13 10:58:29 +08:00
parent 5cb178ca93
commit 7d22cf9b45
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

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