Documentation ¶ Index ¶ func RPCInit() *rpcserver.Server func RPCRun(srv *rpcserver.Server, ctx context.Context) error func RPCStop(srv *rpcserver.Server, ctx context.Context) error func Run(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RPCInit ¶ func RPCInit() *rpcserver.Server func RPCRun ¶ func RPCRun(srv *rpcserver.Server, ctx context.Context) error func RPCStop ¶ func RPCStop(srv *rpcserver.Server, ctx context.Context) error func Run ¶ func Run(ctx context.Context) error Run 启动 gRPC 服务并优雅关闭 Types ¶ This section is empty. Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.