package
1.0.20
Repository: https://github.com/hero1s/golib.git
Documentation: pkg.go.dev

# README

func main() { uIntOpt := grpc.UnaryInterceptor(panichandler.UnaryPanicHandler) sIntOpt := grpc.StreamInterceptor(panichandler.StreamPanicHandler) grpc.NewServer(uIntOpt, sIntOpt) } func main() { panichandler.InstallPanicHandler(func(r interface{}) { fmt.Printf("panic happened: %v", r) } }

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author