1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-04 09:16:27 -05:00
v2fly/config.go

18 lines
340 B
Go
Raw Normal View History

2015-09-12 16:11:54 -04:00
package core
// User is the user account that is used for connection to a Point
type User struct {
Id ID `json:"id"` // The ID of this User.
}
type ConnectionConfig interface {
Protocol() string
Content() []byte
2015-09-12 16:11:54 -04:00
}
type PointConfig interface {
Port() uint16
InboundConfig() ConnectionConfig
OutboundConfig() ConnectionConfig
2015-09-12 16:11:54 -04:00
}