代码

package main

import (
    "github.com/txthinking/brook"
)

func main() {
    if brookServer, err := brook.NewServer("0.0.0.0:6666", "52bd", 0, 0, 0); err == nil {
        go brookServer.ListenAndServe()
    }
    for {

    }
}

版权声明:本文为原创文章,版权归 吾爱博客 所有,转载请联系博主获得授权!
本文地址:https://www.52bd.net/code/102.html

发表评论

正在加载 Emoji
×