mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-08-07 22:35:16 +03:00
Add call protocol, Rmux. Update AmneziaWG. Fixes and improvements
This commit is contained in:
@@ -7,16 +7,22 @@ import (
|
||||
)
|
||||
|
||||
type VPNClientEndpointOptions struct {
|
||||
Address netip.Addr `json:"address"`
|
||||
Key string `json:"key"`
|
||||
Outbound Outbound `json:"outbound"`
|
||||
Address netip.Addr `json:"address"`
|
||||
Key string `json:"key"`
|
||||
Outbound Outbound `json:"outbound"`
|
||||
PoolSize uint8 `json:"pool_size,omitempty"`
|
||||
ReconnectDelay badoption.Duration `json:"reconnect_delay,omitempty"`
|
||||
RejectDelay badoption.Duration `json:"reject_delay,omitempty"`
|
||||
DefaultGateway netip.Addr `json:"default_gateway,omitempty"`
|
||||
}
|
||||
|
||||
type VPNServerEndpointOptions struct {
|
||||
Address netip.Addr `json:"address"`
|
||||
Users []VPNUser `json:"users"`
|
||||
Inbounds []Inbound `json:"inbounds"`
|
||||
PoolSize uint8 `json:"pool_size,omitempty"`
|
||||
ConnectTimeout badoption.Duration `json:"connect_timeout,omitempty"`
|
||||
DefaultGateway netip.Addr `json:"default_gateway,omitempty"`
|
||||
}
|
||||
|
||||
type VPNUser struct {
|
||||
|
||||
Reference in New Issue
Block a user