manager

package
v0.0.0-...-7f4bee4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const ManagerLogInterval = 5 * time.Minute

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name              string
	Logger            slog.Logger
	DB                state.DB
	Wg                *sync.WaitGroup
	Token             string
	Shards            int
	Intents           gatewayws.Intents
	RedisAddr         string
	EtcdAddr          string
	PodID             string
	WhitelistedEvents map[string]struct{}
}

type Manager

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

func New

func New(ctx context.Context, cfg *Config) *Manager

func (*Manager) RequestGuildMembers

func (*Manager) RestartShard

func (*Manager) Start

func (m *Manager) Start(start, stop int) error

func (*Manager) Stats

func (*Manager) Version

Jump to

Keyboard shortcuts

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