Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeout = 5 * time.Minute
Functions ¶
Types ¶
type Annotation ¶ added in v0.3.0
type SOAPFault ¶ added in v0.4.6
type SOAPFault struct { XMLName xml.Name `xml:"SOAP-ENV:Fault"` Code string `xml:"faultcode,omitempty"` String string `xml:"faultstring,omitempty"` Actor string `xml:"faultactor,omitempty"` Detail string `xml:"detail>ExceptionDetail,omitempty"` }
SOAPFault fault
type SOAPHandler ¶
type SOAPHandler struct { grpcer.Client WSDL string Log func(keyvals ...interface{}) error Locations []string DecodeInput func(*string, *xml.Decoder, *xml.StartElement) (interface{}, error) EncodeOutput func(*xml.Encoder, interface{}) error DecodeHeader func(context.Context, *xml.Decoder, *xml.StartElement) (context.Context, func(context.Context, io.Writer, error) error, error) Timeout time.Duration // contains filtered or unexported fields }
SOAPHandler is a http.Handler which proxies SOAP requests to the Client. WSDL is served on GET requests.
func (*SOAPHandler) Input ¶ added in v0.2.4
func (h *SOAPHandler) Input(name string) interface{}
func (*SOAPHandler) ServeHTTP ¶
func (h *SOAPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.