mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-05-18 13:09:04 -04:00
format code
This commit is contained in:
parent
3765826602
commit
1c09b70931
@ -16,6 +16,11 @@ type LogConfig interface {
|
|||||||
AccessLog() string
|
AccessLog() string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type InboundDetour interface {
|
||||||
|
Protocol() string
|
||||||
|
Port()
|
||||||
|
}
|
||||||
|
|
||||||
type PointConfig interface {
|
type PointConfig interface {
|
||||||
Port() uint16
|
Port() uint16
|
||||||
LogConfig() LogConfig
|
LogConfig() LogConfig
|
||||||
|
@ -17,7 +17,7 @@ type UserSettings struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func GetUserSettings(level UserLevel) UserSettings {
|
func GetUserSettings(level UserLevel) UserSettings {
|
||||||
settings := UserSettings {
|
settings := UserSettings{
|
||||||
PayloadReadTimeout: 120,
|
PayloadReadTimeout: 120,
|
||||||
}
|
}
|
||||||
if level > 0 {
|
if level > 0 {
|
||||||
|
@ -33,7 +33,7 @@ func TestVMessSerialization(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
testUser := &TestUser {
|
testUser := &TestUser{
|
||||||
id: userId,
|
id: userId,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user