rkginpanic

package
v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package rkginpanic is a middleware of gin framework for recovering from panic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Interceptor

func Interceptor(opts ...Option) gin.HandlerFunc

Interceptor returns a gin.HandlerFunc (middleware)

Types

type Option

type Option func(*optionSet)

Option is for middleware while creating

func WithEntryNameAndType

func WithEntryNameAndType(entryName, entryType string) Option

WithEntryNameAndType Provide entry name and entry type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL