Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type NewSaverParams ¶
type NewSaverParams struct { fx.In Kubernetes *kubernetes.KubernetesClient Configuration *Configuration Logger *zap.Logger }
type SaveParams ¶
type SaveParams struct { ChannelID string GuildID string SoundName string URL string TextMessage string }
func (SaveParams) Target ¶
func (s SaveParams) Target(config *Configuration) string
type Saver ¶
type Saver struct { Kubernetes *kubernetes.KubernetesClient Configuration *Configuration Logger *zap.Logger }
func NewSaver ¶
func NewSaver(s NewSaverParams) *Saver
func (*Saver) Save ¶
func (s *Saver) Save(params SaveParams) error
Click to show internal directories.
Click to hide internal directories.