Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDuration ¶ added in v0.17.2
ParseDuration parses a duration string. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
Types ¶
type TemplatingData ¶
type TemplatingData struct { Request Request State map[string]string CurrentDateTime func(string, string, string) string }
func NewTemplatingDataFromRequest ¶
func NewTemplatingDataFromRequest(requestDetails *models.RequestDetails, state map[string]string) *TemplatingData
type Templator ¶ added in v0.14.2
type Templator struct { }
func NewTemplator ¶ added in v0.14.2
func NewTemplator() *Templator
func (*Templator) ApplyTemplate ¶ added in v0.14.2
Click to show internal directories.
Click to hide internal directories.