Documentation
¶
Index ¶
- type BaseController
- func (c *BaseController) LoadEnvVarsAndConfig(envVarsOutput, configOutput any, configOpts ...configurator.Option) error
- func (c *BaseController) WithPostgres(cfg *postgres.ConnectionConfig, models []interface{}, ...) (*relational.DB, error)
- func (c *BaseController) WithPromtail(params *promtail.WithPromtailParams) error
- func (c *BaseController) WithS3(ctx context.Context, cfg *s3.Config, S3SecretKey string) (*s3.Client, error)
- func (c *BaseController) WithSES(ctx context.Context, cfg *ses.Config, AWSSecretKey string) (*ses.Client, error)
- func (c *BaseController) WithZerolog()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct {
Environment string
// contains filtered or unexported fields
}
func (*BaseController) LoadEnvVarsAndConfig ¶
func (c *BaseController) LoadEnvVarsAndConfig(envVarsOutput, configOutput any, configOpts ...configurator.Option) error
func (*BaseController) WithPostgres ¶
func (c *BaseController) WithPostgres(cfg *postgres.ConnectionConfig, models []interface{}, options ...relational.Option) (*relational.DB, error)
func (*BaseController) WithPromtail ¶ added in v1.6.1
func (c *BaseController) WithPromtail(params *promtail.WithPromtailParams) error
func (*BaseController) WithZerolog ¶ added in v1.6.1
func (c *BaseController) WithZerolog()
Click to show internal directories.
Click to hide internal directories.