Documentation ¶
Index ¶
- func Head(hasTypeExt bool, sdkLib ...string) string
- func NewenpdointHeader() *enpdointHeader
- func StreamHead(qw422016 *qt422016.Writer, hasTypeExt bool, sdkLib ...string)
- func WriteHead(qq422016 qtio422016.Writer, hasTypeExt bool, sdkLib ...string)
- type ApiMain
- func (a *ApiMain) CreateGoMod(packageName string, routes []string) string
- func (a *ApiMain) CreateMain(packageName string, routes []string) string
- func (a *ApiMain) StreamCreateGoMod(qw422016 *qt422016.Writer, packageName string, routes []string)
- func (a *ApiMain) StreamCreateMain(qw422016 *qt422016.Writer, packageName string, routes []string)
- func (a *ApiMain) WriteCreateGoMod(qq422016 qtio422016.Writer, packageName string, routes []string)
- func (a *ApiMain) WriteCreateMain(qq422016 qtio422016.Writer, packageName string, routes []string)
- type EndpointTpl
- func (e *EndpointTpl) ApisFile() string
- func (e *EndpointTpl) NameRoutes() string
- func (e *EndpointTpl) RequiredFields() string
- func (e *EndpointTpl) StreamApisFile(qw422016 *qt422016.Writer)
- func (e *EndpointTpl) StreamNameRoutes(qw422016 *qt422016.Writer)
- func (e *EndpointTpl) StreamRequiredFields(qw422016 *qt422016.Writer)
- func (e *EndpointTpl) WriteApisFile(qq422016 qtio422016.Writer)
- func (e *EndpointTpl) WriteNameRoutes(qq422016 qtio422016.Writer)
- func (e *EndpointTpl) WriteRequiredFields(qq422016 qtio422016.Writer)
- type TypeAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewenpdointHeader ¶
func NewenpdointHeader() *enpdointHeader
Types ¶
type ApiMain ¶
type ApiMain struct { Name string // contains filtered or unexported fields }
func NewApiMain ¶
func (*ApiMain) CreateGoMod ¶ added in v1.2.15
func (*ApiMain) CreateMain ¶
func (*ApiMain) StreamCreateGoMod ¶ added in v1.2.15
func (*ApiMain) StreamCreateMain ¶
func (*ApiMain) WriteCreateGoMod ¶ added in v1.2.15
func (a *ApiMain) WriteCreateGoMod(qq422016 qtio422016.Writer, packageName string, routes []string)
func (*ApiMain) WriteCreateMain ¶
func (a *ApiMain) WriteCreateMain(qq422016 qtio422016.Writer, packageName string, routes []string)
type EndpointTpl ¶
func NewEndpointTpl ¶
func NewEndpointTpl(route apis.ApiRoute, table dbEngine.Table) *EndpointTpl
func (*EndpointTpl) ApisFile ¶
func (e *EndpointTpl) ApisFile() string
func (*EndpointTpl) NameRoutes ¶
func (e *EndpointTpl) NameRoutes() string
func (*EndpointTpl) RequiredFields ¶ added in v1.2.14
func (e *EndpointTpl) RequiredFields() string
func (*EndpointTpl) StreamApisFile ¶
func (e *EndpointTpl) StreamApisFile(qw422016 *qt422016.Writer)
func (*EndpointTpl) StreamNameRoutes ¶
func (e *EndpointTpl) StreamNameRoutes(qw422016 *qt422016.Writer)
func (*EndpointTpl) StreamRequiredFields ¶ added in v1.2.14
func (e *EndpointTpl) StreamRequiredFields(qw422016 *qt422016.Writer)
func (*EndpointTpl) WriteApisFile ¶
func (e *EndpointTpl) WriteApisFile(qq422016 qtio422016.Writer)
func (*EndpointTpl) WriteNameRoutes ¶
func (e *EndpointTpl) WriteNameRoutes(qq422016 qtio422016.Writer)
func (*EndpointTpl) WriteRequiredFields ¶ added in v1.2.14
func (e *EndpointTpl) WriteRequiredFields(qq422016 qtio422016.Writer)
Click to show internal directories.
Click to hide internal directories.