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
Click to show internal directories.
Click to hide internal directories.