client

package
v1.31.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(cli *httpcli.Client) Client

func (Client) Invoke

func (c Client) Invoke(
	ctx context.Context,
	url string,
	soapAction string,
	extraHeaders map[string]string,
	requestBody any,
) (*Response, error)

type PlainXml

type PlainXml struct {
	Value []byte `xml:",innerxml"`
}

type Response

type Response struct {
	Http *httpcli.Response
}

func (*Response) Close

func (r *Response) Close()

func (*Response) Fault

func (r *Response) Fault() (*soap.Fault, error)

func (*Response) UnmarshalPayload

func (r *Response) UnmarshalPayload(responseBody any) error

Jump to

Keyboard shortcuts

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