documentation: add WireGuard endpoint

This commit is contained in:
世界
2024-11-22 12:59:26 +08:00
parent e5bfd9e6b1
commit 20f5acafaf
17 changed files with 535 additions and 8 deletions

View File

@@ -0,0 +1,32 @@
---
icon: material/new-box
---
!!! question "Since sing-box 1.11.0"
# Endpoint
Endpoint is protocols that has both inbound and outbound behavior.
### Structure
```json
{
"endpoints": [
{
"type": "",
"tag": ""
}
]
}
```
### Fields
| Type | Format |
|-------------|---------------------------|
| `wireguard` | [WireGuard](./wireguard/) |
#### tag
The tag of the endpoint.