soundstore

package
v0.0.0-...-c347dc3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("soundstore", fx.Provide(NewSoundStore))

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Bucket string
}

type SoundStore

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

func NewSoundStore

func NewSoundStore(s3 *minio.Client, config *Configuration, l *zap.Logger) *SoundStore

func (*SoundStore) Find

func (s *SoundStore) Find(guildId string, sound string) (io.ReadCloser, error)

func (*SoundStore) List

func (s *SoundStore) List(guildId string) []string

Jump to

Keyboard shortcuts

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