services

package
v0.0.0-...-e6f0a13 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection struct {
	Feedback feedback.Service
	Guild    guild.Service
}

Collection is the collection of services.

func NewCollection

func NewCollection(c *Config, db *sql.DB) *Collection

NewCollection creates a new collection of services.

type Config

type Config struct {
	// Feedback is the configuration for the feedback service.
	Feedback feedback.Config `yaml:"feedback" mapstructure:"feedback" validate:"required"`
	// Guild is the configuration for the guild service.
	Guild guild.Config `yaml:"guild" mapstructure:"guild" validate:"required"`
}

Config is the configuration for the services.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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