All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.github.tim06.xrayConfiguration.outbounds.settings.TrojanOutboundConfigurationObject.kt Maven / Gradle / Ivy

package io.github.tim06.xrayConfiguration.outbounds.settings

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class TrojanOutboundConfigurationObject(
    @SerialName("servers")
    val servers: List,
) : OutboundConfigurationObject {

    @Serializable
    data class Server(
        @SerialName("address")
        val address: String,
        @SerialName("port")
        val port: Int,
        @SerialName("password")
        val password: String,
        @SerialName("email")
        val email: String? = null,
        @SerialName("level")
        val level: Int? = null,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy