storage

package
v8.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisParameters

type RedisParameters struct {
	Addr     string
	Username string
	Password string
}

type StorageInterface

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

func (*StorageInterface) Close

func (storageInterface *StorageInterface) Close() error

func (*StorageInterface) DeleteGuildSettings

func (storageInterface *StorageInterface) DeleteGuildSettings(guildID string) error

func (*StorageInterface) GetGuildSettings

func (storageInterface *StorageInterface) GetGuildSettings(guildID string) *settings.GuildSettings

func (*StorageInterface) GuildSettingsExists

func (storageInterface *StorageInterface) GuildSettingsExists(guildID string) bool

func (*StorageInterface) Init

func (storageInterface *StorageInterface) Init(params interface{}) error

func (*StorageInterface) SetGuildSettings

func (storageInterface *StorageInterface) SetGuildSettings(guildID string, guildSettings *settings.GuildSettings) error

Jump to

Keyboard shortcuts

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