soap

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle added in v1.0.0

func Handle(w http.ResponseWriter, r *http.Request, handle ocpp.MessageHandler) error

func Marshal

func Marshal(data interface{}, err error, NS string) ([]byte, error)

func Unmarshal

func Unmarshal(data []byte) (receivedEnvelope, error)

Types

type Body

type Body receivedBody

type CallOptions added in v1.0.0

type CallOptions struct {
	From              CallOptionsFrom
	ChargeBoxIdentity string
}

type CallOptionsFrom added in v1.0.0

type CallOptionsFrom toSendFrom

type Client

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

func NewClient

func NewClient(url string) *Client

NewClient creates new SOAP client instance

func (*Client) Call

func (s *Client) Call(soapAction string, request messages.Request, response messages.Response, options *CallOptions) error

Call performs HTTP POST request

type Envelope

type Envelope receivedEnvelope
type Header receivedHeader

Jump to

Keyboard shortcuts

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