mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-10-13 06:23:48 -04:00
18 lines
335 B
Go
18 lines
335 B
Go
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
|
|
}
|
|
|
|
type PointConfig interface {
|
|
Port() uint16
|
|
InboundConfig() ConnectionConfig
|
|
OutboundConfig() ConnectionConfig
|
|
}
|