Documentation ¶
Index ¶
- type Errors
- type HTTPMethod
- type Processor
- func NewErrors(tagMark string, uiErrorsRender serviceRender, clientErrorsRender serviceRender) Processor
- func NewHTTPClient(isTLS bool, isInsecureTLS bool, clientRender httpRender, ...) Processor
- func NewHTTPServer(serverRender httpRender, transportRender httpRender, builderRender httpRender) Processor
- func NewInstrumenting(instrumentingRender serviceRender) Processor
- func NewLogging(loggingRender serviceRender) Processor
- func NewMock(mockRender serviceRender) Processor
- func NewSwagger(tagMark string, httpMethodProcessor HTTPMethod, ...) Processor
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPMethod ¶
type HTTPMethod interface {
Process(httpInfoMethod *api.HTTPMethod, iface *api.Interface, method *types.Function) (err error)
}
HTTPMethod ...
func NewHTTPMethod ¶
func NewHTTPMethod(tagMark string, tagsParser httpServerTagsParser) HTTPMethod
NewHTTPMethod ...
type Processor ¶
type Processor interface {
Process(info *api.GenerationInfo, iface *api.Interface) (err error)
}
Processor ...
func NewErrors ¶
func NewErrors( tagMark string, uiErrorsRender serviceRender, clientErrorsRender serviceRender, ) Processor
NewErrors ...
func NewHTTPClient ¶
func NewHTTPClient( isTLS bool, isInsecureTLS bool, clientRender httpRender, transportRender httpRender, builderRender httpRender, ) Processor
NewHTTPClient ...
func NewHTTPServer ¶
func NewHTTPServer(serverRender httpRender, transportRender httpRender, builderRender httpRender) Processor
NewHTTPServer ...
func NewInstrumenting ¶
func NewInstrumenting(instrumentingRender serviceRender) Processor
NewInstrumenting ...
func NewSwagger ¶
func NewSwagger( tagMark string, httpMethodProcessor HTTPMethod, swaggerTagsParser swaggerTagsParser, mod mod, goGeneratedAutomaticallyPrefix []byte, ) Processor
NewSwagger ...
type Services ¶
type Services struct {
// contains filtered or unexported fields
}
Services ...
func NewServices ¶
func NewServices(tagMark string, processors map[string]Processor, httpMethodProcessor HTTPMethod, metricsTag string) *Services
NewServices ...
Click to show internal directories.
Click to hide internal directories.