This commit is contained in:
ginuerzh
2021-11-15 12:55:05 +08:00
parent 3fe5084629
commit ce3d62759a
38 changed files with 788 additions and 291 deletions

View File

@ -42,11 +42,14 @@ type BypassConfig struct {
}
type ListenerConfig struct {
Type string
Chain string
Metadata map[string]interface{}
}
type HandlerConfig struct {
Type string
Chain string
Bypass string
Metadata map[string]interface{}
}
@ -72,8 +75,6 @@ type ServiceConfig struct {
Listener *ListenerConfig
Handler *HandlerConfig
Forwarder *ForwarderConfig
Chain string
Bypass string
}
type ChainConfig struct {