instance

package
v0.0.0-...-2bffabc Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const DMID = "270904126974590976"

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	Client             *discord.Client
	Logger             *logrus.Logger
	ChannelID          string
	WG                 *sync.WaitGroup
	Master             *Instance
	Cluster            []*Instance
	Features           config.Features
	SuspicionAvoidance config.SuspicionAvoidance
	Compat             config.Compat
	Shifts             []config.Shift
	// contains filtered or unexported fields
}

func (*Instance) Balance

func (in *Instance) Balance() int

func (*Instance) IsClosed

func (in *Instance) IsClosed() bool

func (*Instance) LastBalanceUpdate

func (in *Instance) LastBalanceUpdate() time.Time

func (*Instance) Start

func (in *Instance) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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