config

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.8.0

type Config struct {
	Port     int
	BasePath string

	Database dialects.Config
	Mail     email.Config
	Queue    event.Config
}

func Load

func Load() *Config

func (*Config) DBConfig added in v0.10.1

func (c *Config) DBConfig() dialects.Config

func (*Config) GetBaseURL added in v0.11.0

func (c *Config) GetBaseURL() string

func (*Config) GetHTTPPort added in v0.8.0

func (c *Config) GetHTTPPort() int

func (*Config) MailConfig added in v0.10.2

func (c *Config) MailConfig() email.Config

func (*Config) QueueConfig added in v0.10.2

func (c *Config) QueueConfig() event.Config

Jump to

Keyboard shortcuts

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