Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breeze-sys/Label-Only-MIA-Go
/ types & classes
Types & classes
40 in github.com/breeze-sys/Label-Only-MIA-Go
⨍
Functions
123
◇
Types & classes
40
↳
Endpoints
3
↓ 2 callers
Class
BatchPredictResponse
python_server/server.py:108
↓ 2 callers
Class
CNN
python_server/classifier.py:27
↓ 2 callers
TypeAlias
Image
========================================== 2. 核心数据类型 ========================================== Image 基础数据单元
pkg/core/definitions.go:18
↓ 2 callers
Class
Rand_Augment
python_server/utils.py:149
↓ 1 callers
Class
PredictResponse
python_server/server.py:101
↓ 1 callers
Class
ShadowJSONDataset
python_server/calc_thresholds.py:16
Struct
AttackResult
AttackResult 仅作为 Attacker (如 HSJA) 的原始输出 ⚠️【修复点】:补全了 HSJA 算法需要的所有字段
pkg/core/definitions.go:44
Interface
Attacker
Attacker 接口
pkg/core/definitions.go:73
Struct
AuditPool
AuditPool 审计工厂,负责大规模并发调度
pkg/worker/pool.go:11
Struct
AuditResult
AuditResult 存储多维审计报告 (给 main.go 做统计用的)
pkg/core/definitions.go:31
Struct
AuditThresholds
pkg/audit/engine.go
pkg/audit/engine.go:18
Class
BatchPredictRequest
python_server/server.py:105
Struct
CifarLoader
pkg/dataset/cifar10.go:13
Struct
Engine
pkg/audit/engine.go:30
Struct
HSJA
pkg/attack/hsja.go:18
Struct
HSJAConfig
pkg/attack/hsja.go:9
Struct
HTTPClient
========================================== 1. 结构体与通信协议定义 ==========================================
pkg/client/http_client.go:17
Class
MemGuard
python_server/classifier.py:66
Interface
Model
========================================== 3. 接口契约 ========================================== Model 接口
pkg/core/definitions.go:59
Class
PredictRequest
python_server/server.py:98
Struct
Relabeler
pkg/worker/relabel.go:9
Struct
Sample
Sample 代表一个测试样本
pkg/core/definitions.go:21
Struct
ShadowData
对应你导出的 JSON 结构
verify/pth/check_pth.go:13
Struct
ShadowExportRecord
专门为 Python 训练定义的导出格式
scripts/relabel/relabel_data.go:16
Struct
auditReport
main.go:79
Struct
auditRequest
main.go:94
Struct
batchRequest
批量请求体 (用于 PredictBatch)
pkg/client/http_client.go:38
Struct
batchResponse
pkg/client/http_client.go:42
Struct
benchResult
bench_test.go:14
Struct
cliOptions
main.go:89
Struct
consolePageData
main.go:123
Struct
logitsResponse
分数返回体 (用于 PredictLogits - 核心新增!)
pkg/client/http_client.go:33
Struct
metricSummary
main.go:48
Struct
reportSample
main.go:66
Struct
requestBody
单图请求体
pkg/client/http_client.go:23
Struct
responseBody
标签返回体 (用于 Predict)
pkg/client/http_client.go:28
Struct
runConfig
main.go:25
Struct
sample
bench_test.go:179
Struct
serviceHealth
main.go:109
Struct
statusResponse
main.go:118