Documentation ¶
Overview ¶
Package wsdlgo provides an encoder from WSDL to Go code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingPackageName ¶ added in v1.4.6
BindingPackageName formats package name from wsdl binding
func (BindingPackageName) String ¶ added in v1.4.6
func (p BindingPackageName) String() string
type Encoder ¶
type Encoder interface { // Encode generates Go code from d. Encode(d *wsdl.Definitions) error // SetPackageName sets some fmt.Stringer that can produce package name SetPackageName(packageName fmt.Stringer) // SetClient records the given http client that // is used when fetching remote parts of WSDL // and WSDL schemas. SetClient(c *http.Client) // SetLocalNamespace allows overriding of the Namespace in XMLName instead // of the one specified in wsdl SetLocalNamespace(namespace string) }
An Encoder generates Go code from WSDL definitions.
func NewEncoder ¶
NewEncoder creates and initializes an Encoder that generates code to w.
type PackageName ¶ added in v1.4.6
type PackageName string
PackageName is just a string with interface
func (PackageName) String ¶ added in v1.4.6
func (p PackageName) String() string
Click to show internal directories.
Click to hide internal directories.