ktor-banner 为ktor添加横幅。 快速开始 fun main () { embeddedServer( Netty , port = 8000 ) { banner { bannerText = " Ktor Banner " } routing { get( " / " ) { call.respondText( " Hello, world! " ) } } }.start(wait = true ) } 这将打印: _ ___ ____ | |/ / |_ ___ _ __ | __ )