Documentation ¶
Index ¶
- type EndpointOption
- type Generator
- func NewClientStruct(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewConfig(o model.ConfigOption) Generator
- func NewConfigMarkdownDoc(filename string, o model.ConfigOption, info model.GenerateInfo) Generator
- func NewEndpoint(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewEndpointFactory(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewGatewayGenerator(filename string, info model.GenerateInfo, o model.GatewayOption) Generator
- func NewHttpTransport(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewInstrumenting(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewJsonRPCGoClient(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewJsonRPCJSClient(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewJsonRPCServer(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewJsonrpcMarkdownDoc(info model.GenerateInfo, o model.ServiceOption) Generator
- func NewLogging(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewOpenapi(info model.GenerateInfo, o model.ServiceOption) Generator
- func NewReadme(info model.GenerateInfo, o model.ServiceOption) Generator
- func NewRestGoClient(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- func NewRestServer(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
- type Required
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointOption ¶
type EndpointOption struct { }
type Generator ¶
type Generator interface { Prepare(ctx context.Context) error Process(ctx context.Context) error Bytes() []byte PkgName() string OutputDir() string Filename() string }
func NewClientStruct ¶
func NewClientStruct(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewConfig ¶
func NewConfig(o model.ConfigOption) Generator
func NewConfigMarkdownDoc ¶ added in v1.25.0
func NewConfigMarkdownDoc(filename string, o model.ConfigOption, info model.GenerateInfo) Generator
func NewEndpoint ¶
func NewEndpoint(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewEndpointFactory ¶
func NewEndpointFactory(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewGatewayGenerator ¶ added in v1.23.0
func NewGatewayGenerator(filename string, info model.GenerateInfo, o model.GatewayOption) Generator
func NewHttpTransport ¶
func NewHttpTransport(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewInstrumenting ¶
func NewInstrumenting(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewJsonRPCGoClient ¶
func NewJsonRPCGoClient(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewJsonRPCJSClient ¶
func NewJsonRPCJSClient(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewJsonRPCServer ¶
func NewJsonRPCServer(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewJsonrpcMarkdownDoc ¶ added in v1.24.1
func NewJsonrpcMarkdownDoc(info model.GenerateInfo, o model.ServiceOption) Generator
func NewLogging ¶
func NewLogging(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewOpenapi ¶
func NewOpenapi(info model.GenerateInfo, o model.ServiceOption) Generator
func NewReadme ¶ added in v1.24.1
func NewReadme(info model.GenerateInfo, o model.ServiceOption) Generator
func NewRestGoClient ¶
func NewRestGoClient(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
func NewRestServer ¶
func NewRestServer(filename string, info model.GenerateInfo, o model.ServiceOption) Generator
Source Files ¶
Click to show internal directories.
Click to hide internal directories.