internal

package
v0.0.0-...-b8dd9a7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB()

Types

type Commands

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

func NewCommands

func NewCommands(session *discordgo.Session) *Commands

func (*Commands) AddHandlers

func (c *Commands) AddHandlers()

func (*Commands) Teardown

func (c *Commands) Teardown()

type DB

type DB interface {
	Set(ctx context.Context, key string, value interface{}, expiration time.Duration) (err error)
	Get(ctx context.Context, key string, value interface{}) error
}

Jump to

Keyboard shortcuts

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