7 Star 1 Fork 1

罗中天 / douyin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
server.go 560 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Code generated by Kitex v0.4.4. DO NOT EDIT.
package videoservice
import (
video_rpc "gitee.com/derrickball/douyin/app/video/kitex_gen/video_rpc"
server "github.com/cloudwego/kitex/server"
)
// NewServer creates a server.Server with the given handler and options.
func NewServer(handler video_rpc.VideoService, opts ...server.Option) server.Server {
var options []server.Option
options = append(options, opts...)
svr := server.NewServer(options...)
if err := svr.RegisterService(serviceInfo(), handler); err != nil {
panic(err)
}
return svr
}
1
https://gitee.com/derrickball/douyin.git
git@gitee.com:derrickball/douyin.git
derrickball
douyin
douyin
48d44dfe16fa

搜索帮助

53164aa7 5694891 3bd8fe86 5694891