sentry

package
v0.0.0-...-2d73068 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeSentryClient

func InitializeSentryClient(sentryDSN string, options ...func(*client)) (func(), error)

InitializeSentryClient initializes sentry client. This function returns function that can be used to close the sentry client and error.

func Sentry

func Sentry() *client

Sentry returns client declared inside package

func WithEnvironment

func WithEnvironment(env string) func(*client)

WithEnvironment helps you set environment the deployed code is running in while initializing sentry client using function InitializeSentryClient

func WithRelease

func WithRelease(release string) func(*client)

WithRelease helps you set release/commit of currently running code while initializing sentry client using function InitializeSentryClient

Types

This section is empty.

Jump to

Keyboard shortcuts

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