Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
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.
Click to show internal directories.
Click to hide internal directories.