Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW-knocker authored Oct 18, 2024
1 parent 053eeae commit 05b978d
Show file tree
Hide file tree
Showing 3 changed files with 438 additions and 243 deletions.
9 changes: 9 additions & 0 deletions V2rayNG/app/src/main/kotlin/com/v2ray/ang/dto/ConfigResult.kt
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 V2rayNG/app/src/main/kotlin/com/v2ray/ang/dto/Hysteria2Bean.kt
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?,
)
}
Loading

0 comments on commit 05b978d

Please sign in to comment.