templater

package
v0.5.32 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTMLTemplater

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

func (*HTMLTemplater) Apply

func (t *HTMLTemplater) Apply(parts *gun.RequestParts, vs map[string]any, scenarioName, stepName string) error

type Templater

type Templater interface {
	Apply(request *gun.RequestParts, variables map[string]any, scenarioName, stepName string) error
}

func NewHTMLTemplater

func NewHTMLTemplater() Templater

func NewTextTemplater

func NewTextTemplater() Templater

type TextTemplater

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

func (*TextTemplater) Apply

func (t *TextTemplater) Apply(parts *gun.RequestParts, vs map[string]any, scenarioName, stepName string) error

Jump to

Keyboard shortcuts

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