server

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Session *discordgo.Session
	UC      useCases

	StartTime    time.Time
	DebugGuildID string
}

func Start

func Start(cfg *config.Config, musicUC domain.MusicUseCase, playerUC domain.PlayerUseCase, queueUC domain.QueueUseCase) (*Server, error)

func (*Server) Stop

func (s *Server) Stop() error

Jump to

Keyboard shortcuts

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