sentry

package
v0.0.0-...-ef83997 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeSentryClient

func InitializeSentryClient(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