@@ -102,11 +102,11 @@ type Config struct {
102
102
// a simple file name, it is placed inside the data directory (or on the root
103
103
// pipe path on Windows), whereas if it's a resolvable path name (absolute or
104
104
// relative), then that specific path is enforced. An empty path disables IPC.
105
- IPCPath string `toml:",omitempty"`
105
+ IPCPath string
106
106
107
107
// HTTPHost is the host interface on which to start the HTTP RPC server. If this
108
108
// field is empty, no HTTP API endpoint will be started.
109
- HTTPHost string `toml:",omitempty"`
109
+ HTTPHost string
110
110
111
111
// HTTPPort is the TCP port number on which to start the HTTP RPC server. The
112
112
// default zero value is/ valid and will pick a port number randomly (useful
@@ -130,15 +130,15 @@ type Config struct {
130
130
// HTTPModules is a list of API modules to expose via the HTTP RPC interface.
131
131
// If the module list is empty, all RPC API endpoints designated public will be
132
132
// exposed.
133
- HTTPModules []string `toml:",omitempty"`
133
+ HTTPModules []string
134
134
135
135
// HTTPTimeouts allows for customization of the timeout values used by the HTTP RPC
136
136
// interface.
137
137
HTTPTimeouts rpc.HTTPTimeouts
138
138
139
139
// WSHost is the host interface on which to start the websocket RPC server. If
140
140
// this field is empty, no websocket API endpoint will be started.
141
- WSHost string `toml:",omitempty"`
141
+ WSHost string
142
142
143
143
// WSPort is the TCP port number on which to start the websocket RPC server. The
144
144
// default zero value is/ valid and will pick a port number randomly (useful for
@@ -153,7 +153,7 @@ type Config struct {
153
153
// WSModules is a list of API modules to expose via the websocket RPC interface.
154
154
// If the module list is empty, all RPC API endpoints designated public will be
155
155
// exposed.
156
- WSModules []string `toml:",omitempty"`
156
+ WSModules []string
157
157
158
158
// WSExposeAll exposes all API modules via the WebSocket RPC interface rather
159
159
// than just the public ones.
@@ -164,7 +164,7 @@ type Config struct {
164
164
165
165
// GraphQLHost is the host interface on which to start the GraphQL server. If this
166
166
// field is empty, no GraphQL API endpoint will be started.
167
- GraphQLHost string `toml:",omitempty"`
167
+ GraphQLHost string
168
168
169
169
// GraphQLPort is the TCP port number on which to start the GraphQL server. The
170
170
// default zero value is/ valid and will pick a port number randomly (useful
0 commit comments