xml

package
v2.2.0-preview.5.3.5+i... Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: CC0-1.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service is an implementation of handling XML.

func NewXMLService

func NewXMLService(templatePath string) Service

NewXMLService returns a new XML service

func NewXMLServiceWithMockClock

func NewXMLServiceWithMockClock(templatePath string, clock clock.Clock) Service

NewXMLServiceWithMockClock allows you to create an XML service with a minuplable clock

func (Service) DefaultTemplate

func (service Service) DefaultTemplate(templateName string, data map[string]interface{}) (template.HTML, error)

DefaultTemplate returns a template given data.

func (Service) PackageXML

func (service Service) PackageXML(app api.Application) (template.HTML, error)

PackageXML returns the XML representation of an application

Jump to

Keyboard shortcuts

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