mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-10-14 00:59:21 +00:00
chore: remove obsolete config param (#417)
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
parent
a4c8c821d0
commit
d2def2b453
@ -31,7 +31,6 @@ certs-path = "{{ .PlmntConfig.CertsPath }}"
|
|||||||
|
|
||||||
// Config defines Planetmint's top level configuration
|
// Config defines Planetmint's top level configuration
|
||||||
type Config struct {
|
type Config struct {
|
||||||
ConfigRootDir string `json:"config-root-dir" mapstructure:"config-root-dir"`
|
|
||||||
RPCHost string `json:"rpc-host" mapstructure:"rpc-host"`
|
RPCHost string `json:"rpc-host" mapstructure:"rpc-host"`
|
||||||
RPCPort int `json:"rpc-port" mapstructure:"rpc-port"`
|
RPCPort int `json:"rpc-port" mapstructure:"rpc-port"`
|
||||||
RPCUser string `json:"rpc-user" mapstructure:"rpc-user"`
|
RPCUser string `json:"rpc-user" mapstructure:"rpc-user"`
|
||||||
@ -58,7 +57,6 @@ var (
|
|||||||
// DefaultConfig returns planetmint's default configuration.
|
// DefaultConfig returns planetmint's default configuration.
|
||||||
func DefaultConfig() *Config {
|
func DefaultConfig() *Config {
|
||||||
return &Config{
|
return &Config{
|
||||||
ConfigRootDir: "",
|
|
||||||
RPCHost: "localhost",
|
RPCHost: "localhost",
|
||||||
RPCPort: 18884,
|
RPCPort: 18884,
|
||||||
RPCUser: "user",
|
RPCUser: "user",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user