mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-23 00:51:29 +00:00
21 lines
716 B
Go
21 lines
716 B
Go
package option
|
|
|
|
import (
|
|
"net/netip"
|
|
)
|
|
|
|
type TailscaleEndpointOptions struct {
|
|
StateDirectory string `json:"state_directory,omitempty"`
|
|
AuthKey string `json:"auth_key,omitempty"`
|
|
ControlURL string `json:"control_url,omitempty"`
|
|
Ephemeral bool `json:"ephemeral,omitempty"`
|
|
Hostname string `json:"hostname,omitempty"`
|
|
|
|
ExitNode string `json:"exit_node,omitempty"`
|
|
ExitNodeAllowLANAccess bool `json:"exit_node_allow_lan_access,omitempty"`
|
|
AdvertiseRoutes []netip.Prefix `json:"advertise_routes,omitempty"`
|
|
AdvertiseExitNode bool `json:"advertise_exit_node,omitempty"`
|
|
|
|
UDPTimeout UDPTimeoutCompat `json:"udp_timeout,omitempty"`
|
|
}
|