http

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName = "http"
)

Variables

This section is empty.

Functions

func NewDefault

func NewDefault(name string) dukkha.Renderer

Types

type Driver added in v0.4.3

type Driver struct {
	rs.BaseField `yaml:"-"`

	renderer.BaseTwoTierCachedRenderer `yaml:",inline"`

	DefaultConfig rendererHTTPConfig `yaml:",inline"`
	// contains filtered or unexported fields
}

func (*Driver) Init added in v0.4.3

func (d *Driver) Init(cacheFS *fshelper.OSFS) error

func (*Driver) RenderYaml added in v0.4.3

func (d *Driver) RenderYaml(
	rc dukkha.RenderingContext, rawData interface{}, attributes []dukkha.RendererAttribute,
) ([]byte, error)

Jump to

Keyboard shortcuts

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