outbound

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTemplatesAdapter

func NewTemplatesAdapter(cfg *config.Config) ports.TemplatesPort

NewTemplatesAdapter creates a new instance of TemplatesAdapter.

Types

type TemplatesAdapter

type TemplatesAdapter struct {
	// contains filtered or unexported fields
}

TemplatesAdapter is the adapter for the templates port.

func (*TemplatesAdapter) Get

func (a *TemplatesAdapter) Get(name string, data any) (out []byte, err error)

Get returns the rendered template as byte slice.

Jump to

Keyboard shortcuts

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