Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLazyDep ¶
func ValidateLazyDep(dep interface{}) error
ValidateLazyDep - goes trough all methods of the dep and tries to call them. Returns error if one of the method calls panicked or if methods accepts any arguments.
Types ¶
type Listenerer ¶
func NewListenerer ¶
func NewListenerer(getter kv.Getter) Listenerer
type LoggerOpts ¶
type LoggerOpts struct {
Release string
}
type Once ¶
type Once struct {
// contains filtered or unexported fields
}
Once like `sync.Once` but also stores return and panic values
type Sentrier ¶
type Sentrier interface { Sentry() *sentry.Client SentryConfig() SentryConfig }
func NewSentrier ¶
func NewSentrier(getter kv.Getter, options SentryOpts) Sentrier
type SentryConfig ¶ added in v1.12.0
type SentryOpts ¶
type SentryOpts struct {
Release string
}
Click to show internal directories.
Click to hide internal directories.