mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-10-28 14:57:58 -04:00
29 lines
844 B
Go
29 lines
844 B
Go
|
package conf
|
||
|
|
||
|
/*
|
||
|
import (
|
||
|
"encoding/json"
|
||
|
"errors"
|
||
|
"io"
|
||
|
|
||
|
"v2ray.com/core/app/dns"
|
||
|
"v2ray.com/core/app/router"
|
||
|
"v2ray.com/core/common"
|
||
|
v2net "v2ray.com/core/common/net"
|
||
|
"v2ray.com/core/transport"
|
||
|
"v2ray.com/core/transport/internet"
|
||
|
)
|
||
|
|
||
|
type Config struct {
|
||
|
Port uint16 `json:"port"` // Port of this Point server.
|
||
|
LogConfig *LogConfig `json:"log"`
|
||
|
RouterConfig *router.Config `json:"routing"`
|
||
|
DNSConfig *dns.Config `json:"dns"`
|
||
|
InboundConfig *InboundConnectionConfig `json:"inbound"`
|
||
|
OutboundConfig *OutboundConnectionConfig `json:"outbound"`
|
||
|
InboundDetours []*InboundDetourConfig `json:"inboundDetour"`
|
||
|
OutboundDetours []*OutboundDetourConfig `json:"outboundDetour"`
|
||
|
Transport *transport.Config `json:"transport"`
|
||
|
}
|
||
|
*/
|