-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.go
18 lines (16 loc) · 994 Bytes
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package config
import (
"github.com/alexfalkowski/go-service/client"
)
// Config for client.
type Config struct {
*client.Config `yaml:",inline" json:",inline" toml:",inline"`
Application string `yaml:"application,omitempty" json:"application,omitempty" toml:"application,omitempty"`
Version string `yaml:"version,omitempty" json:"version,omitempty" toml:"version,omitempty"`
Environment string `yaml:"environment,omitempty" json:"environment,omitempty" toml:"environment,omitempty"`
Continent string `yaml:"continent,omitempty" json:"continent,omitempty" toml:"continent,omitempty"`
Country string `yaml:"country,omitempty" json:"country,omitempty" toml:"country,omitempty"`
Command string `yaml:"command,omitempty" json:"command,omitempty" toml:"command,omitempty"`
Kind string `yaml:"kind,omitempty" json:"kind,omitempty" toml:"kind,omitempty"`
Mode uint32 `yaml:"mode,omitempty" json:"mode,omitempty" toml:"mode,omitempty"`
}