Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Prefix string `long:"prefix" default:"html" description:"EmbeddedFS prefix"`
}
Config holds all config vars
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy holds proxied handler
type Service ¶
type Service struct { Config *Config Log *log.Logger ListHandler func() []string DataHandler func(name string) ([]byte, error) InfoHandler func(name string) (os.FileInfo, error) }
Service holds SOAP service
func New ¶
func New(cfg Config, logger *log.Logger, lh func() []string, dh func(name string) ([]byte, error), ih func(name string) (os.FileInfo, error), ) *Service
New creates an Service object
func (Service) SetupRouter ¶
SetupRouter add routes to mux
Click to show internal directories.
Click to hide internal directories.