Initial commit (code only without large binaries)
This commit is contained in:
14
EdgeNode/internal/nodes/origin_state.go
Normal file
14
EdgeNode/internal/nodes/origin_state.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package nodes
|
||||
|
||||
import "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs"
|
||||
|
||||
type OriginState struct {
|
||||
CountFails int64
|
||||
UpdatedAt int64
|
||||
Config *serverconfigs.OriginConfig
|
||||
Addr string
|
||||
TLSHost string
|
||||
ReverseProxy *serverconfigs.ReverseProxyConfig
|
||||
}
|
||||
Reference in New Issue
Block a user