xml

package
v0.0.0-...-b072a59 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2015 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package xml implements the registry.Protocol interface, and registers it with the default registry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Protocol

type Protocol struct{}

Protocol is the XML implementation of the registry.Protocol interface

func (*Protocol) ContentType

func (p *Protocol) ContentType() string

ContentType is needed for the registry.Protocol interface

func (*Protocol) Decode

func (p *Protocol) Decode(container interface{}, r io.Reader) error

Decode is needed for the registry.Protocol interface

func (*Protocol) Encode

func (p *Protocol) Encode(data interface{}, w io.Writer) error

Encode is needed for the registry.Protocol interface

Jump to

Keyboard shortcuts

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