mirror of https://github.com/v2ray/v2ray-core
25 lines
387 B
Go
25 lines
387 B
Go
![]() |
package config
|
||
|
|
||
![]() |
type RouterConfig interface {
|
||
|
Strategy() string
|
||
|
Settings() interface{}
|
||
|
}
|
||
|
|
||
|
type ConnectionTag string
|
||
|
|
||
![]() |
type ConnectionConfig interface {
|
||
![]() |
Protocol() string
|
||
![]() |
Settings() interface{}
|
||
![]() |
}
|
||
|
|
||
![]() |
type LogConfig interface {
|
||
|
AccessLog() string
|
||
|
}
|
||
|
|
||
![]() |
type PointConfig interface {
|
||
![]() |
Port() uint16
|
||
![]() |
LogConfig() LogConfig
|
||
![]() |
InboundConfig() ConnectionConfig
|
||
|
OutboundConfig() ConnectionConfig
|
||
![]() |
}
|