ctrl

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
	Environment string
}

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) WithPromtailAndZerolog

func (c *BaseController) WithPromtailAndZerolog(params *promtail.WithPromtailParams) error

func (*BaseController) WithS3

func (c *BaseController) WithS3(cfg *s3.Config, S3SecretKey string) (*s3.Client, error)

func (*BaseController) WithSES

func (c *BaseController) WithSES(cfg *ses.Config, AWSSecretKey string) (*ses.Client, error)

Jump to

Keyboard shortcuts

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