Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct {
// contains filtered or unexported fields
}
func NewChain ¶
func NewChain(middlewares ...Middleware) Chain
func (Chain) Append ¶
func (c Chain) Append(middlewares ...Middleware) Chain
func (Chain) ThenFunc ¶
func (c Chain) ThenFunc(hf HandlerFunc) Handler
type HandlerFunc ¶
func (HandlerFunc) Handle ¶
func (f HandlerFunc) Handle(ctx context.Context, update tgbotapi.Update)
type Middleware ¶
Click to show internal directories.
Click to hide internal directories.