Documentation
¶
Index ¶
- Variables
- func LoadProviders(cfgFile, appName string, providers container.Providers) error
- func Serve(providers container.Providers, opts ...Option) error
- type GenQueryGenerator
- type MigrationInfo
- type Option
- func CmdMigrations(migrations ...contracts.MigrationProvider) Option
- func CmdModel() Option
- func CmdQueue() Option
- func CmdSeeders(seeders ...contracts.SeederProvider) Option
- func CmdService() Option
- func Config(file string) Option
- func Long(long string) Option
- func Name(name string) Option
- func PostRun(run func(cmd *cobra.Command, args []string)) Option
- func PostRunE(run func(cmd *cobra.Command, args []string) error) Option
- func PreRun(run func(cmd *cobra.Command, args []string)) Option
- func PreRunE(run func(cmd *cobra.Command, args []string) error) Option
- func Run(run func(cmd *cobra.Command, args []string)) Option
- func RunE(run func(cmd *cobra.Command, args []string) error) Option
- func Short(short string) Option
- type SeedersContainer
- type ServiceVars
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GroupInitialName = "initials" GroupRoutesName = "routes" GroupGrpcServerServiceName = "grpc_server_services" GroupCommandName = "command_services" GroupQueueName = "queue_handler" GroupInitial = dig.Group(GroupInitialName) GroupRoutes = dig.Group(GroupRoutesName) GroupGrpcServer = dig.Group(GroupGrpcServerServiceName) GroupCommand = dig.Group(GroupCommandName) GroupQueue = dig.Group(GroupQueueName) )
Functions ¶
func LoadProviders ¶
Types ¶
type GenQueryGenerator ¶
MigrationInfo http service container
type MigrationInfo ¶
type MigrationInfo struct {
dig.In
DB *gorm.DB
Migrations []contracts.Migration `group:"migrations"`
}
MigrationInfo http service container
type Option ¶
func CmdMigrations ¶ added in v1.0.1
func CmdMigrations(migrations ...contracts.MigrationProvider) Option
func CmdSeeders ¶ added in v1.0.1
func CmdSeeders(seeders ...contracts.SeederProvider) Option
func CmdService ¶ added in v1.0.1
func CmdService() Option
type SeedersContainer ¶
type ServiceVars ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.