Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseProperty ¶
type BaseProperty struct { Address string `fiber:"address"` Timeout string `fiber:"timeout"` TLSSkipVerify bool `fiber:"tls-skip-verify"` }
BaseProperty defines the property of fiber.consul section in yaml config.
func (*BaseProperty) Prefix ¶
func (*BaseProperty) Prefix() string
type ConfigProperty ¶
type ConfigProperty struct { Enabled bool `fiber:"enabled"` ConfPrefix string `fiber:"prefix"` Format string `fiber:"format"` Name string `fiber:"name"` }
ConfigProperty defines the property of fiber.consul.config section in yaml config. This will be used to configure consul config server.
func (*ConfigProperty) Prefix ¶
func (p *ConfigProperty) Prefix() string
type DiscoveryProperty ¶
type DiscoveryProperty struct { Enabled bool `fiber:"enabled"` ServiceName string `fiber:"service-name"` ServiceId string `fiber:"service-id"` PreferIpAddress bool `fiber:"prefer-ip-address"` IpAddress string `fiber:"ip-address"` Port int `fiber:"port"` HealthCheckUrl string `fiber:"health-check-url"` HealthCheckInterval string `fiber:"health-check-interval"` Tags []string `fiber:"tags"` }
DiscoveryProperty defines the property of fiber.consul.discovery section in yaml config.
func (*DiscoveryProperty) Prefix ¶
func (*DiscoveryProperty) Prefix() string
Click to show internal directories.
Click to hide internal directories.