soap

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(data []byte) (name string, begin, end int64)

Extract extracts body element from a SOAP envelope, returns name and offset of the body.

Types

type Envelope

type Envelope struct {
	XMLName       xml.Name `xml:"s:Envelope"`
	XmlNs         string   `xml:"xmlns:s,attr"`
	EncodingStyle string   `xml:"s:encodingStyle,attr"`
	Body          struct {
		Data any
	} `xml:"s:Body"`
}

func (*Envelope) Init

func (e *Envelope) Init(data any) *Envelope

Jump to

Keyboard shortcuts

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