Documentation ¶
Index ¶
- func ArrayUniqueLen(arr []string) int
- func CatchErrorSentry(err error)
- func CatchPanicSentry()
- func GetLocalSentry() *sentry.Hub
- func InitSentry(dsn string, debug bool)
- func LocalCatchErrorSentry(hub *sentry.Hub, err error)
- func LocalCatchPanicSentry(hub *sentry.Hub)
- func SentryMiddleware() gin.HandlerFunc
- func SetLocalTagSentry(hub *sentry.Hub, key, value string)
- func SetTagSentry(key, value string)
- func SetUserIDSentry(id string)
- func StringInArray(s string, arr []string) bool
- type Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocalCatchErrorSentry ¶
func LocalCatchErrorSentry(hub *sentry.Hub, err error)
LocalCatchErrorSentry -
func SetLocalTagSentry ¶
func SetLocalTagSentry(hub *sentry.Hub, key, value string)
SetLocalTagSentry -
Types ¶
Click to show internal directories.
Click to hide internal directories.