Versions in this module Expand all Collapse all v2 v2.0.1 Dec 31, 2022 v2.0.0 Sep 25, 2019 Changes in this version + const Debug + const ErrBadURL + const ErrMissingPrivateKey + const ErrMissingProjectID + const ErrMissingPublicKey + const ErrMissingRootTLSCerts + const ErrSendQueueFull + const ErrSendQueueShutdown + const Error + const Fatal + const Info + const Warning + func AddDefaultOptionProvider(provider func() Option) + func AddDefaultOptions(options ...Option) + func AddInternalPrefixes(prefixes ...string) + func NewEventID() (string, error) + type AdvancedOption interface + Apply func(packet map[string]Option) + type Breadcrumb interface + WithCategory func(cat string) Breadcrumb + WithLevel func(s Severity) Breadcrumb + WithMessage func(msg string) Breadcrumb + WithTimestamp func(ts time.Time) Breadcrumb + type BreadcrumbsList interface + NewDefault func(data map[string]interface{}) Breadcrumb + NewHTTPRequest func(method, url string, statusCode int, reason string) Breadcrumb + NewNavigation func(from, to string) Breadcrumb + WithSize func(length int) BreadcrumbsList + func DefaultBreadcrumbs() BreadcrumbsList + func NewBreadcrumbsList(size int) BreadcrumbsList + type Client interface + Capture func(options ...Option) QueuedEvent + GetOption func(className string) Option + With func(options ...Option) Client + func DefaultClient() Client + func NewClient(options ...Option) Client + type Config interface + DSN func() string + SendQueue func() SendQueue + Transport func() Transport + type DeviceContextInfo struct + Architecture string + BatteryLevel int + Family string + Model string + ModelID string + Name string + Orientation string + Type string + type ErrType string + func (e ErrType) Error() string + func (e ErrType) IsInstance(err error) bool + func (e ErrType) Unwrap() error + type ExceptionInfo struct + Mechanism string + Module string + StackTrace StackTraceOption + ThreadID string + Type string + Value string + func NewExceptionInfo() *ExceptionInfo + func (e *ExceptionInfo) ForError(err error) *ExceptionInfo + type FinalizeableOption interface + Finalize func() + type HTTPRequestInfo struct + Cookies string + Data interface{} + Env map[string]string + Headers map[string]string + Method string + Query string + URL string + func (o *HTTPRequestInfo) Class() string + type HTTPRequestOption interface + Sanitize func(fields ...string) HTTPRequestOption + WithCookies func() HTTPRequestOption + WithData func(data interface{}) HTTPRequestOption + WithEnv func() HTTPRequestOption + WithHeaders func() HTTPRequestOption + func HTTPRequest(req *http.Request) HTTPRequestOption + type MergeableOption interface + Merge func(old Option) Option + type OSContextInfo struct + Build string + KernelVersion string + Name string + Rooted bool + Type string + Version string + type OmitableOption interface + Omit func() bool + type Option interface + Class func() string + func Breadcrumbs(list BreadcrumbsList) Option + func Context(key string, data interface{}) Option + func Culprit(culprit string) Option + func DSN(dsn string) Option + func DeviceContext(info *DeviceContextInfo) Option + func Environment(env string) Option + func EventID(id string) Option + func Exception(info *ExceptionInfo) Option + func ExceptionForError(err error) Option + func Extra(extra map[string]interface{}) Option + func Fingerprint(keys ...string) Option + func HTTP(h *HTTPRequestInfo) Option + func Level(severity Severity) Option + func Logger(logger string) Option + func Message(format string, params ...interface{}) Option + func Modules(moduleVersions map[string]string) Option + func OSContext(info *OSContextInfo) Option + func Platform(platform string) Option + func Release(version string) Option + func RuntimeContext(name, version string) Option + func ServerName(hostname string) Option + func Tags(tags map[string]string) Option + func Timestamp(timestamp time.Time) Option + func Unset(field string) Option + func UseSendQueue(queue SendQueue) Option + func UseTransport(transport Transport) Option + func User(user *UserInfo) Option + type Packet interface + Clone func() Packet + SetOptions func(options ...Option) Packet + func NewPacket() Packet + type QueuedEvent interface + Error func() error + EventID func() string + Wait func() QueuedEvent + WaitChannel func() <-chan error + func NewQueuedEvent(cfg Config, packet Packet) QueuedEvent + type QueuedEventInternal interface + Complete func(err error) + Config func() Config + Packet func() Packet + type SendQueue interface + Enqueue func(conf Config, packet Packet) QueuedEvent + Shutdown func(wait bool) + func NewSequentialSendQueue(buffer int) SendQueue + type Severity string + type StackTraceOption interface + ForError func(err error) StackTraceOption + WithInternalPrefixes func(prefixes ...string) StackTraceOption + func StackTrace() StackTraceOption + type Transport interface + Send func(dsn string, packet Packet) error + type UserInfo struct + Email string + Extra map[string]string + ID string + IPAddress string + Username string Other modules containing this package github.com/SierraSoftworks/sentry-go