wsdlgo

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: BSD-3-Clause Imports: 19 Imported by: 0

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

type BindingPackageName wsdl.Binding

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

func NewEncoder(w io.Writer) Encoder

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

Jump to

Keyboard shortcuts

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