ctrl

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2025 License: MIT Imports: 13 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
	// 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) 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)

func (*BaseController) WithZerolog added in v1.6.1

func (c *BaseController) WithZerolog()

Jump to

Keyboard shortcuts

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