mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-01 06:36:38 +08:00
0b34792709
- openflare/agent/relay/flared 协议类型改为 pkg/protocol 别名,删除重复 struct - 新增 edge/wsclient Preset 表,三组件 wsclient 改为薄包装 - 更新设计文档、计划与 changelog
26 lines
1.1 KiB
Go
26 lines
1.1 KiB
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package agent
|
|
|
|
import pkgprotocol "github.com/Rain-kl/Wavelet/pkg/protocol"
|
|
|
|
type NodePayload = pkgprotocol.NodePayload
|
|
type NodeSystemProfile = pkgprotocol.NodeSystemProfile
|
|
type NodeMetricSnapshot = pkgprotocol.NodeMetricSnapshot
|
|
type NodeOpenrestyObservation = pkgprotocol.NodeOpenrestyObservation
|
|
type NodeTrafficReport = pkgprotocol.NodeTrafficReport
|
|
type NodeAccessLog = pkgprotocol.NodeAccessLog
|
|
type BufferedObservabilityRecord = pkgprotocol.BufferedObservabilityRecord
|
|
type NodeHealthEvent = pkgprotocol.NodeHealthEvent
|
|
type ApplyLogPayload = pkgprotocol.ApplyLogPayload
|
|
type Settings = pkgprotocol.AgentSettings
|
|
type ActiveConfigMeta = pkgprotocol.ActiveConfigMeta
|
|
type SupportFile = pkgprotocol.SupportFile
|
|
type WAFIPGroup = pkgprotocol.WAFIPGroup
|
|
type WAFIPGroupSyncRequest = pkgprotocol.WAFIPGroupSyncRequest
|
|
type WAFIPGroupSyncResponse = pkgprotocol.WAFIPGroupSyncResponse
|
|
|
|
// Backward-compatible names used by server routers and handlers.
|
|
type WAFIPGroupSyncInput = WAFIPGroupSyncRequest
|
|
type WAFIPGroupSyncResult = WAFIPGroupSyncResponse |