mjml

package
v1.33.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMJML

func IsMJML(content []byte) bool

Types

type Config

type Config struct {
	URL      string
	Username string
	Password string
}

func Flags

func Flags(fs *flag.FlagSet, prefix string) *Config

type Service added in v1.32.4

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

func New

func New(config *Config, meterProvider metric.MeterProvider, tracerProvider trace.TracerProvider) Service

func (Service) Enabled added in v1.32.4

func (s Service) Enabled() bool

func (Service) Render added in v1.32.4

func (s Service) Render(ctx context.Context, template string) (string, error)

Jump to

Keyboard shortcuts

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