Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module( "web", fx.Provide( http.AsRouteGroup(NewWeb), ), )
Functions ¶
This section is empty.
Types ¶
type NewWebQueueParams ¶
type NewWebQueueParams struct { fx.In Repo *repositories.GuildRepository Queue *queues.SoundsQueue Store *soundstore.SoundStore Log *zap.Logger Prometheus *prometheus.Prometheus }
type PostPlaySoundBody ¶
type Web ¶
type Web struct { Repo *repositories.GuildRepository Queue *queues.SoundsQueue Store *soundstore.SoundStore Log *zap.Logger }
func NewWeb ¶
func NewWeb(p NewWebQueueParams) (*Web, error)
Click to show internal directories.
Click to hide internal directories.