add metadata

This commit is contained in:
ginuerzh
2021-10-29 23:49:57 +08:00
parent 4969bc1067
commit 57a4d116d4
46 changed files with 466 additions and 381 deletions

View File

@ -18,6 +18,7 @@ func init() {
}
type LogConfig struct {
Output string
Level string
Format string
}
@ -29,22 +30,22 @@ type LoadbalancingConfig struct {
type ListenerConfig struct {
Type string
Metadata map[string]string
Metadata map[string]interface{}
}
type HandlerConfig struct {
Type string
Metadata map[string]string
Metadata map[string]interface{}
}
type DialerConfig struct {
Type string
Metadata map[string]string
Metadata map[string]interface{}
}
type ConnectorConfig struct {
Type string
Metadata map[string]string
Metadata map[string]interface{}
}
type ServiceConfig struct {