servers

package
v0.0.0-...-7034edb Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

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

func New

func New(repository repository.Repository) (*Impl, error)

func (*Impl) FindServers

func (service *Impl) FindServers(name string, locale discordgo.Locale) []entities.Server

func (*Impl) GetServer

func (service *Impl) GetServer(id string) (entities.Server, bool)

func (*Impl) GetServers

func (service *Impl) GetServers() []entities.Server

type Service

type Service interface {
	GetServer(id string) (entities.Server, bool)
	GetServers() []entities.Server
	FindServers(name string, locale discordgo.Locale) []entities.Server
}

Jump to

Keyboard shortcuts

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