Documentation ¶
Index ¶
- func ClientType(iface *config.Interface) string
- func IfaceMiddlewareTypeName(iface *config.Interface) string
- func LcNameIfaceMethod(iface *config.Interface, fn *option.FuncType) string
- func LcNameWithAppPrefix(iface *config.Interface, notInternal ...bool) string
- func NameInterface(iface *config.Interface) string
- func UcNameIfaceMethod(iface *config.Interface, fn *option.FuncType) string
- func UcNameWithAppPrefix(iface *config.Interface, useServicePrefix ...bool) string
- type ClientGenerator
- type ClientHelpers
- type ClientStruct
- type InterfaceGenerator
- type Logging
- type Metric
- type Openapi
- type RoutesGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientType ¶ added in v3.0.26
func IfaceMiddlewareTypeName ¶ added in v3.0.26
func LcNameIfaceMethod ¶ added in v3.0.25
func LcNameWithAppPrefix ¶ added in v3.0.25
func NameInterface ¶
func UcNameIfaceMethod ¶ added in v3.0.26
Types ¶
type ClientGenerator ¶ added in v3.0.26
type ClientGenerator struct { Interfaces []*config.Interface Output string Pkg string // contains filtered or unexported fields }
func (*ClientGenerator) Filename ¶ added in v3.0.26
func (g *ClientGenerator) Filename() string
func (*ClientGenerator) Generate ¶ added in v3.0.26
func (g *ClientGenerator) Generate(ctx context.Context) []byte
func (*ClientGenerator) OutputPath ¶ added in v3.0.26
func (g *ClientGenerator) OutputPath() string
func (*ClientGenerator) Package ¶ added in v3.0.26
func (g *ClientGenerator) Package() string
type ClientHelpers ¶ added in v3.0.26
type ClientHelpers struct { Interfaces []*config.Interface Output string Pkg string // contains filtered or unexported fields }
func (*ClientHelpers) Filename ¶ added in v3.0.26
func (g *ClientHelpers) Filename() string
func (*ClientHelpers) Generate ¶ added in v3.0.26
func (g *ClientHelpers) Generate(ctx context.Context) []byte
func (*ClientHelpers) OutputPath ¶ added in v3.0.26
func (g *ClientHelpers) OutputPath() string
func (*ClientHelpers) Package ¶ added in v3.0.26
func (g *ClientHelpers) Package() string
type ClientStruct ¶ added in v3.0.26
type ClientStruct struct { Interfaces []*config.Interface MethodOptions map[string]config.MethodOptions Output string Pkg string // contains filtered or unexported fields }
func (*ClientStruct) Filename ¶ added in v3.0.26
func (g *ClientStruct) Filename() string
func (*ClientStruct) Generate ¶ added in v3.0.26
func (g *ClientStruct) Generate(ctx context.Context) []byte
func (*ClientStruct) OutputPath ¶ added in v3.0.26
func (g *ClientStruct) OutputPath() string
func (*ClientStruct) Package ¶ added in v3.0.26
func (g *ClientStruct) Package() string
type InterfaceGenerator ¶ added in v3.0.26
type InterfaceGenerator struct { Interfaces []*config.Interface Output string Pkg string // contains filtered or unexported fields }
func (*InterfaceGenerator) Filename ¶ added in v3.0.26
func (g *InterfaceGenerator) Filename() string
func (*InterfaceGenerator) Generate ¶ added in v3.0.26
func (g *InterfaceGenerator) Generate(ctx context.Context) []byte
func (*InterfaceGenerator) OutputPath ¶ added in v3.0.26
func (g *InterfaceGenerator) OutputPath() string
func (*InterfaceGenerator) Package ¶ added in v3.0.26
func (g *InterfaceGenerator) Package() string
type Logging ¶ added in v3.0.26
type Logging struct { Interfaces []*config.Interface Output string Pkg string // contains filtered or unexported fields }
func (*Logging) OutputPath ¶ added in v3.0.26
type Metric ¶ added in v3.0.28
type Metric struct { Interfaces []*config.Interface Output string Pkg string // contains filtered or unexported fields }
func (*Metric) OutputPath ¶ added in v3.0.28
type Openapi ¶ added in v3.0.24
type Openapi struct { Contact config.OpenapiContact Info config.OpenapiInfo MethodTags map[string][]string Servers []config.OpenapiServer Licence config.OpenapiLicence Output string Interfaces []*config.Interface MethodOptions map[string]config.MethodOptions IfaceErrors map[string]map[string][]finder.Error }
func (*Openapi) OutputPath ¶ added in v3.0.24
type RoutesGenerator ¶
type RoutesGenerator struct { Interfaces []*config.Interface MethodOptions map[string]config.MethodOptions // contains filtered or unexported fields }
func (*RoutesGenerator) Filename ¶
func (g *RoutesGenerator) Filename() string
func (*RoutesGenerator) OutputPath ¶ added in v3.0.22
func (g *RoutesGenerator) OutputPath() string
Click to show internal directories.
Click to hide internal directories.