verbs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	XMLName xml.Name `xml:"Message"`

	MessageAttributes

	Text     *string `xml:",chardata"`
	Children []interface{}
}

func (*Message) Body

func (m *Message) Body(message string)

func (*Message) Media

func (m *Message) Media(url string)

type MessageAttributes

type MessageAttributes struct {
	To     *string `xml:"to,attr,omitempty"`
	From   *string `xml:"from,attr,omitempty"`
	Action *string `xml:"action,attr,omitempty"`
	Method *string `xml:"method,attr,omitempty"`
}

type Redirect

type Redirect struct {
	XMLName xml.Name `xml:"Redirect"`

	RedirectAttributes

	Text string `xml:",chardata"`
}

type RedirectAttributes

type RedirectAttributes struct {
	Method *string `xml:"method,attr,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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