package
Version:
v1.0.7
Opens a new window with list of versions in this module.
Published: Mar 29, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
server
grpc
定义启动grpc
服务的流程
- Init()
使用配置文件生成一个基础的grpc服务框架
- Use()
传入grpc服务中间件
- Start()
启动grpc服务
- Shutdown()
安全退出grpc服务
使用详情点击此处
http
定义启动http
服务的流程
- Init()
使用配置文件生成一个基础的http服务框架
- Use()
传入web框架的引擎(这里限制使用Gin)
- Start()
启动http服务
- Shutdown()
安全退出http服务
使用详情点击此处
Documentation
¶
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.