nopanic

package
v0.8.64 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) Do

func (h *Handler) Do(f func())

func (*Handler) Go

func (h *Handler) Go(f func())

func (Handler) Middleware

func (h Handler) Middleware() middlewares.Middleware

func (Handler) TelegramBotMiddleware

func (h Handler) TelegramBotMiddleware() telegram.BotMiddleware

func (Handler) UnaryServerInterceptor

func (h Handler) UnaryServerInterceptor() grpc.UnaryServerInterceptor

func (Handler) Validate

func (obj Handler) Validate() error

type Option

type Option c.Option[Handler]

func WithLogger

func WithLogger(logger *zap.Logger) Option

func WithMetrics

func WithMetrics(enabled bool) Option

Jump to

Keyboard shortcuts

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