mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-13 20:28:32 +10:00
25 lines
759 B
Go
25 lines
759 B
Go
package option
|
|
|
|
import (
|
|
"github.com/sagernet/sing/common/auth"
|
|
"github.com/sagernet/sing/common/json/badoption"
|
|
)
|
|
|
|
type NaiveInboundOptions struct {
|
|
ListenOptions
|
|
Users []auth.User `json:"users,omitempty"`
|
|
Network NetworkList `json:"network,omitempty"`
|
|
InboundTLSOptionsContainer
|
|
}
|
|
|
|
type NaiveOutboundOptions struct {
|
|
DialerOptions
|
|
ServerOptions
|
|
Username string `json:"username,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
InsecureConcurrency int `json:"insecure_concurrency,omitempty"`
|
|
ExtraHeaders badoption.HTTPHeader `json:"extra_headers,omitempty"`
|
|
UDPOverTCP *UDPOverTCPOptions `json:"udp_over_tcp,omitempty"`
|
|
OutboundTLSOptionsContainer
|
|
}
|