Documentation
¶
Index ¶
- type ConfigApp
- type ConfigAppSetter
- type ConfigSls
- type ConfigSlsSetter
- type CronSetter
- type CustomSetter
- type Domain
- type DomainOptions
- type Domains
- type HTTPSetter
- type LambdaCron
- type LambdaCronHandler
- type LambdaCustom
- type LambdaCustomHandler
- type LambdaHTTP
- type LambdaHTTPHandler
- type LambdaPlain
- type LambdaPlainHandler
- type LambdaSnsSqs
- type LambdaSnsSqsHandler
- type LambdaSqs
- type LambdaSqsHandler
- type LambdaTemplates
- func (l *LambdaTemplates) SetCron(cron LambdaCron)
- func (l *LambdaTemplates) SetCustom(custom LambdaCustom)
- func (l *LambdaTemplates) SetHTTP(http LambdaHTTP)
- func (l *LambdaTemplates) SetPlain(plain LambdaPlain)
- func (l *LambdaTemplates) SetSnsSqs(sqs LambdaSnsSqs)
- func (l *LambdaTemplates) SetSqs(sqs LambdaSqs)
- type PlainSetter
- type Providers
- type ProvidersGeneratorsNanoidTableid
- type ProvidersPostgres
- type Repository
- type RepositoryDynamo
- type RepositoryPostgres
- type RepositoryPostgresBuilders
- type RepositoryPostgresDaos
- type Service
- type ServiceDynamo
- type ServicePostgres
- type ServiceTemplates
- type ServiceTemplatesConfig
- type ServiceTemplatesConfigSls
- type ServiceTemplatesLambda
- type SnsSqsSetter
- type SqsSetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigAppSetter ¶
type ConfigAppSetter interface {
SetConfigApp(ConfigApp)
}
type ConfigSlsSetter ¶
type ConfigSlsSetter interface {
SetConfigSls(ConfigSls)
}
type CronSetter ¶
type CronSetter interface {
SetCron(LambdaCron)
}
type CustomSetter ¶
type CustomSetter interface {
SetCustom(LambdaCustom)
}
type Domain ¶
type Domain struct {
DomainGo []byte
ErrorsGo []byte
Options DomainOptions
}
type DomainOptions ¶
type Domains ¶
type Domains struct {
Service Service
Repository Repository
Providers Providers
Domain Domain
}
func NewDomains ¶
type HTTPSetter ¶
type HTTPSetter interface {
SetHTTP(LambdaHTTP)
}
type LambdaCron ¶
type LambdaCron struct {
MainGo []byte
LambdaConfigYAML []byte
Handler LambdaCronHandler
}
type LambdaCronHandler ¶
type LambdaCustom ¶
type LambdaCustom struct {
MainGo []byte
LambdaConfigYAML []byte
Handler LambdaCustomHandler
}
type LambdaCustomHandler ¶
type LambdaHTTP ¶
type LambdaHTTP struct {
MainGo []byte
LambdaConfigYAML []byte
Handler LambdaHTTPHandler
}
type LambdaHTTPHandler ¶
type LambdaPlain ¶
type LambdaPlain struct {
MainGo []byte
LambdaConfigYAML []byte
Handler LambdaPlainHandler
}
type LambdaPlainHandler ¶
type LambdaSnsSqs ¶
type LambdaSnsSqs struct {
MainGo []byte
LambdaConfigYAML []byte
Handler LambdaSnsSqsHandler
}
type LambdaSnsSqsHandler ¶
type LambdaSqs ¶
type LambdaSqs struct {
MainGo []byte
LambdaConfigYAML []byte
Handler LambdaSqsHandler
}
type LambdaSqsHandler ¶
type LambdaTemplates ¶
type LambdaTemplates struct {
Cron LambdaCron
HTTP LambdaHTTP
Plain LambdaPlain
SnsSqs LambdaSnsSqs
Sqs LambdaSqs
Custom LambdaCustom
}
func NewLambdaTemplates ¶
func NewLambdaTemplates(data any) (*LambdaTemplates, error)
func (*LambdaTemplates) SetCron ¶
func (l *LambdaTemplates) SetCron(cron LambdaCron)
func (*LambdaTemplates) SetCustom ¶
func (l *LambdaTemplates) SetCustom(custom LambdaCustom)
func (*LambdaTemplates) SetHTTP ¶
func (l *LambdaTemplates) SetHTTP(http LambdaHTTP)
func (*LambdaTemplates) SetPlain ¶
func (l *LambdaTemplates) SetPlain(plain LambdaPlain)
func (*LambdaTemplates) SetSnsSqs ¶
func (l *LambdaTemplates) SetSnsSqs(sqs LambdaSnsSqs)
func (*LambdaTemplates) SetSqs ¶
func (l *LambdaTemplates) SetSqs(sqs LambdaSqs)
type PlainSetter ¶
type PlainSetter interface {
SetPlain(LambdaPlain)
}
type Providers ¶
type Providers struct {
GeneratorGo []byte
ServiceGo []byte
Postgres ProvidersPostgres
GeneratorsNanoidTableid ProvidersGeneratorsNanoidTableid
}
type ProvidersGeneratorsNanoidTableid ¶
type ProvidersGeneratorsNanoidTableid struct {
ProvideGo []byte
}
type ProvidersPostgres ¶
type ProvidersPostgres struct {
RepositoryGo []byte
}
type Repository ¶
type Repository struct {
Postgres RepositoryPostgres
Dynamo RepositoryDynamo
}
type RepositoryDynamo ¶
type RepositoryPostgres ¶
type RepositoryPostgres struct {
DotMockeryPkgYml []byte
CreateGo []byte
CreateTestGo []byte
DeleteGo []byte
DeleteTestGo []byte
GetGo []byte
GetTestGo []byte
InterfacesGo []byte
RepositoryGo []byte
RepositoryTestGo []byte
SearchGo []byte
SearchTestGo []byte
SearchOneGo []byte
SearchOneTestGo []byte
UpdateGo []byte
UpdateTestGo []byte
ProvideGo []byte
Builders RepositoryPostgresBuilders
Daos RepositoryPostgresDaos
}
type RepositoryPostgresDaos ¶
type Service ¶
type Service struct {
Postgres ServicePostgres
Dynamo ServiceDynamo
}
type ServiceDynamo ¶
type ServicePostgres ¶
type ServicePostgres struct {
DotMockeryPkgYml []byte
CreateGo []byte
CreateTestGo []byte
DeleteGo []byte
DeleteTestGo []byte
GetGo []byte
GetTestGo []byte
InterfacesGo []byte
SearchGo []byte
SearchTestGo []byte
SearchOneGo []byte
SearchOneTestGo []byte
ServiceGo []byte
ServiceTestGo []byte
UpdateGo []byte
UpdateTestGo []byte
ProvideGo []byte
}
type ServiceTemplates ¶
type ServiceTemplates struct {
ServerlessYAML []byte
PackageJSON []byte
DepsGo []byte
Config ServiceTemplatesConfig
Lambda ServiceTemplatesLambda
}
func NewServiceTemplates ¶
func NewServiceTemplates(data any) (*ServiceTemplates, error)
func (*ServiceTemplates) SetConfigApp ¶
func (s *ServiceTemplates) SetConfigApp(v ConfigApp)
func (*ServiceTemplates) SetConfigSls ¶
func (s *ServiceTemplates) SetConfigSls(v ConfigSls)
func (*ServiceTemplates) SetPlain ¶
func (s *ServiceTemplates) SetPlain(plain LambdaPlain)
type ServiceTemplatesConfig ¶
type ServiceTemplatesLambda ¶
type ServiceTemplatesLambda struct {
Plain LambdaPlain
}
type SnsSqsSetter ¶
type SnsSqsSetter interface {
SetSnsSqs(LambdaSnsSqs)
}
Click to show internal directories.
Click to hide internal directories.