Package-level declarations

Types

Link copied to clipboard
@Configuration
class AudioPlayerConfiguration

Created by napster on 05.03.18.

Link copied to clipboard
@ConfigurationProperties(prefix = "lavalink.server.sources")
@Component
data class AudioSourcesConfig(var isYoutube: Boolean = true, var isBandcamp: Boolean = true, var isSoundcloud: Boolean = true, var isTwitch: Boolean = true, var isVimeo: Boolean = true, var isNico: Boolean = false, var isHttp: Boolean = true, var isLocal: Boolean = false)

Created by napster on 05.03.18.

Link copied to clipboard
data class HttpConfig(var proxyHost: String = "", var proxyPort: Int = 3128, var proxyUser: String = "", var proxyPassword: String = "")
Link copied to clipboard
@Configuration
class KoeConfiguration(val serverConfig: ServerConfig)
Link copied to clipboard
@Component
@ConfigurationProperties(value = "metrics.prometheus")
data class MetricsPrometheusConfigProperties(var isEnabled: Boolean = false, var endpoint: String = "")

Created by napster on 20.05.18.

Link copied to clipboard
data class RateLimitConfig(var ipBlocks: List<String> = emptyList(), var excludedIps: List<String> = emptyList(), var strategy: String = "RotateOnBan", var retryLimit: Int = -1, var searchTriggersFail: Boolean = true)
Link copied to clipboard
@Configuration
class RequestAuthorizationFilter(serverConfig: ServerConfig, metricsConfig: MetricsPrometheusConfigProperties) : HandlerInterceptor, WebMvcConfigurer
Link copied to clipboard
@Configuration
@ConfigurationProperties(prefix = "logging.request")
@ConditionalOnProperty(value = ["logging.request.enabled"], matchIfMissing = true)
data class RequestLoggingConfig(var includeClientInfo: Boolean = false, var includeHeaders: Boolean = false, var includeQueryString: Boolean = true, var includePayload: Boolean = true, var maxPayloadLength: Int = 10000, var beforeRequest: Boolean = false)
Link copied to clipboard
@Component
@ConfigurationProperties(prefix = "sentry")
class SentryConfigProperties

Created by napster on 20.05.18.

Link copied to clipboard
@Configuration
class SentryConfiguration(sentryConfig: SentryConfigProperties)

Created by napster on 25.04.18.

Link copied to clipboard
@ConfigurationProperties(prefix = "lavalink.server")
@Component
class ServerConfig
Link copied to clipboard
Link copied to clipboard
@Configuration
@EnableWebMvc
class WebConfiguration(interceptors: List<RestInterceptor>) : WebMvcConfigurer
Link copied to clipboard
@Configuration
@EnableWebSocket
@RestController
class WebsocketConfig(server: SocketServer, handshakeInterceptor: HandshakeInterceptorImpl) : WebSocketConfigurer
Link copied to clipboard
data class YoutubeConfig(var email: String = "", var password: String = "")