soap

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Prefix string `long:"prefix" default:"soap/" description:"Service prefix"`
}

Config holds all config vars

type Service

type Service struct {
	Config *Config
	Log    *log.Logger
	Server *grpc.ClientConn
	Host   string
}

Service holds SOAP service

func New

func New(cfg Config, logger *log.Logger, endpoint, host string) (*Service, error)

New creates an Service object

func (Service) SetupRouter

func (srv Service) SetupRouter(mux *http.ServeMux, client grpcer.Client, WSDL string)

Jump to

Keyboard shortcuts

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