forked from 2dust/v2rayNG
-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
053eeae
commit 05b978d
Showing
3 changed files
with
438 additions
and
243 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
V2rayNG/app/src/main/kotlin/com/v2ray/ang/dto/ConfigResult.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.v2ray.ang.dto | ||
|
||
data class ConfigResult ( | ||
var status: Boolean, | ||
var guid: String? = null, | ||
var content: String = "", | ||
var domainPort: String? = null, | ||
) | ||
|
29 changes: 29 additions & 0 deletions
29
V2rayNG/app/src/main/kotlin/com/v2ray/ang/dto/Hysteria2Bean.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.v2ray.ang.dto | ||
|
||
data class Hysteria2Bean( | ||
val server: String?, | ||
val auth: String?, | ||
val lazy: Boolean? = true, | ||
val obfs: ObfsBean? = null, | ||
val socks5: Socks5Bean? = null, | ||
val http: Socks5Bean? = null, | ||
val tls: TlsBean? = null, | ||
) { | ||
data class ObfsBean( | ||
val type: String?, | ||
val salamander: SalamanderBean? | ||
) { | ||
data class SalamanderBean( | ||
val password: String?, | ||
) | ||
} | ||
|
||
data class Socks5Bean( | ||
val listen: String?, | ||
) | ||
|
||
data class TlsBean( | ||
val sni: String?, | ||
val insecure: Boolean?, | ||
) | ||
} |
Oops, something went wrong.