Documentation
¶
Index ¶
- Variables
- func Gin(register func(gin.IRouter)) http.Handler
- func NotFound(name, id string) error
- func OnShutdown(hook func())
- func RenderError(ctx *gin.Context, op xerr.Op, err error)
- func Run(servers ...Server) error
- func WaitShutdown(ctx context.Context)
- type GrpcServer
- type RequestInfo
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var Propagation propagation.HTTPFormat
Functions ¶
func OnShutdown ¶
func OnShutdown(hook func())
func WaitShutdown ¶
Types ¶
type GrpcServer ¶
type RequestInfo ¶
func GetRequestInfo ¶
func GetRequestInfo(ctx context.Context) (info *RequestInfo)
func (*RequestInfo) String ¶
func (info *RequestInfo) String() string
Click to show internal directories.
Click to hide internal directories.