mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00
added missing json tags
This commit is contained in:
parent
cef7b3d396
commit
64e30f59e8
1 changed files with 16 additions and 16 deletions
|
@ -15,24 +15,24 @@ import (
|
||||||
|
|
||||||
type (
|
type (
|
||||||
ReverseProxyEntry struct { // real model after validation
|
ReverseProxyEntry struct { // real model after validation
|
||||||
Alias T.Alias
|
Alias T.Alias `json:"alias"`
|
||||||
Scheme T.Scheme
|
Scheme T.Scheme `json:"scheme"`
|
||||||
URL net.URL
|
URL net.URL `json:"url"`
|
||||||
NoTLSVerify bool
|
NoTLSVerify bool `json:"no_tls_verify"`
|
||||||
PathPatterns T.PathPatterns
|
PathPatterns T.PathPatterns `json:"path_patterns"`
|
||||||
LoadBalance loadbalancer.Config
|
LoadBalance loadbalancer.Config `json:"load_balance"`
|
||||||
Middlewares D.NestedLabelMap
|
Middlewares D.NestedLabelMap `json:"middlewares"`
|
||||||
|
|
||||||
/* Docker only */
|
/* Docker only */
|
||||||
IdleTimeout time.Duration
|
IdleTimeout time.Duration `json:"idle_timeout"`
|
||||||
WakeTimeout time.Duration
|
WakeTimeout time.Duration `json:"wake_timeout"`
|
||||||
StopMethod T.StopMethod
|
StopMethod T.StopMethod `json:"stop_method"`
|
||||||
StopTimeout int
|
StopTimeout int `json:"stop_timeout"`
|
||||||
StopSignal T.Signal
|
StopSignal T.Signal `json:"stop_signal"`
|
||||||
DockerHost string
|
DockerHost string `json:"docker_host"`
|
||||||
ContainerName string
|
ContainerName string `json:"container_name"`
|
||||||
ContainerID string
|
ContainerID string `json:"container_id"`
|
||||||
ContainerRunning bool
|
ContainerRunning bool `json:"container_running"`
|
||||||
}
|
}
|
||||||
StreamEntry struct {
|
StreamEntry struct {
|
||||||
Alias T.Alias `json:"alias"`
|
Alias T.Alias `json:"alias"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue