Documentation
¶
Index ¶
- func BuildHTTPHandlerProviders(opts *PipelineOptions) (err error)
- func BuildMiddlewareProvider(opts *PipelineOptions) (err error)
- func BuildOpenAPISpec(opts *PipelineOptions) (err error)
- func BuildServiceHTTPHandlerFactories(opts *PipelineOptions) (err error)
- func BuildWireSet(opts *PipelineOptions) (err error)
- func BuildWorkerProviders(opts *PipelineOptions) (err error)
- func BuildWorkerProxies(opts *PipelineOptions) (err error)
- func Generate(params GenerateParams) (err error)
- type DTOType
- type FilePath
- type FileSet
- type GenerateParams
- type PackageName
- type Pipeline
- type PipelineFunc
- type PipelineOptions
- type TagOption
- type TagOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildHTTPHandlerProviders ¶
func BuildHTTPHandlerProviders(opts *PipelineOptions) (err error)
func BuildMiddlewareProvider ¶
func BuildMiddlewareProvider(opts *PipelineOptions) (err error)
func BuildOpenAPISpec ¶
func BuildOpenAPISpec(opts *PipelineOptions) (err error)
func BuildServiceHTTPHandlerFactories ¶
func BuildServiceHTTPHandlerFactories( opts *PipelineOptions, ) (err error)
func BuildWireSet ¶
func BuildWireSet(opts *PipelineOptions) (err error)
func BuildWorkerProviders ¶
func BuildWorkerProviders(opts *PipelineOptions) (err error)
func BuildWorkerProxies ¶
func BuildWorkerProxies( opts *PipelineOptions, ) (err error)
func Generate ¶
func Generate(params GenerateParams) (err error)
Types ¶
type FileSet ¶
func NewFileSet ¶
func NewFileSet() FileSet
type GenerateParams ¶
type PackageName ¶
type PackageName string
type PipelineFunc ¶
type PipelineFunc func(opts *PipelineOptions) (err error)
type PipelineOptions ¶
type PipelineOptions struct {
FileSet FileSet
GenerateParams GenerateParams
Services []*parser.Service
Workers []*parser.Worker
Providers []*parser.Provider
Middleware []*parser.Middleware
}
func NewPipelineOptions ¶
func NewPipelineOptions( fset FileSet, genParams GenerateParams, pkgList map[parser.PackagePath]*parser.Package, ) (opts *PipelineOptions)
type TagOptions ¶
type TagOptions []TagOption
func (TagOptions) Has ¶
func (t TagOptions) Has(name string) bool
Click to show internal directories.
Click to hide internal directories.