Discover Packages
github.com/palp1tate/brevinect
service
user
config
package
Version:
v0.0.0-...-2bc4f80
Opens a new window with list of versions in this module.
Published: Dec 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ConsulConfig struct {
Host string `json:"host"`
Port int `json:"port"`
}
type JaegerConfig struct {
Host string `json:"host"`
Port int `json:"port"`
}
type MySQLConfig struct {
Host string `json:"host"`
Port int `json:"port"`
Database string `json:"database"`
User string `json:"user"`
Password string `json:"password"`
}
type NacosConfig struct {
Host string `mapstructure:"host"`
Port int `mapstructure:"port"`
Namespace string `mapstructure:"namespace"`
User string `mapstructure:"user"`
Password string `mapstructure:"password"`
DataId string `mapstructure:"dataId"`
Group string `mapstructure:"group"`
}
type ServiceConfig struct {
Name string `json:"name"`
Host string `json:"host"`
Tags []string `json:"tags"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.