Versions in this module Expand all Collapse all v0 v0.2.0 Jun 14, 2026 v0.1.0 Jun 13, 2026 Changes in this version + type Options struct + AppHash string + AppID int + IdleTimeout time.Duration + Logger *zap.Logger + StateDir string + type Pool struct + func New(opt Options) (*Pool, error) + func (p *Pool) Close() + func (p *Pool) Do(ctx context.Context, token string, fn func(*botapi.Bot) error) error + func (p *Pool) Kill(token string) + func (p *Pool) RunGC(ctx context.Context) + type Token struct + ID int + Secret string + func ParseToken(s string) (Token, error) + func (t Token) String() string