mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-27 04:25:44 -05:00
massive refactoring against json config parsing
This commit is contained in:
@@ -4,9 +4,9 @@ import (
|
||||
v2net "github.com/v2ray/v2ray-core/common/net"
|
||||
)
|
||||
|
||||
type Config interface {
|
||||
Address() v2net.Address
|
||||
Port() v2net.Port
|
||||
Network() v2net.NetworkList
|
||||
Timeout() int
|
||||
type Config struct {
|
||||
Address v2net.Address
|
||||
Port v2net.Port
|
||||
Network v2net.NetworkList
|
||||
Timeout int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user