Documentation
¶
Index ¶
- func Dir(src string, dst string) error
- func File(src, dst string) error
- type CmdCreate
- type ControllerCreate
- type Install
- type JobCreate
- type MiddlewareCreate
- type MigrateRollback
- type Migration
- type MigrationCreate
- type MigrationUp
- type ModelCreate
- type QueueFailed
- type QueueRun
- type Seeder
- type ServerDaemon
- type ServerRun
- type ShowCommands
- type ShowRoute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ControllerCreate ¶
func (*ControllerCreate) Register ¶
func (c *ControllerCreate) Register()
func (*ControllerCreate) Run ¶
func (c *ControllerCreate) Run(kernel *kernel.HttpKernel, args string, console map[string]interface{})
type MiddlewareCreate ¶
func (*MiddlewareCreate) Run ¶
func (c *MiddlewareCreate) Run(kernel *kernel.HttpKernel, args string, console map[string]interface{})
Command business logic
type MigrateRollback ¶
func (*MigrateRollback) Register ¶
func (c *MigrateRollback) Register()
func (*MigrateRollback) Run ¶
func (c *MigrateRollback) Run(kernel *kernel.HttpKernel, args string, console map[string]interface{})
type MigrationCreate ¶
func (*MigrationCreate) Register ¶
func (c *MigrationCreate) Register()
func (*MigrationCreate) Run ¶
func (c *MigrationCreate) Run(kernel *kernel.HttpKernel, args string, console map[string]interface{})
Create migration files This method will create two file UP and DOWN. UP: Work only for migrate operation DOWN: Work only for rollback operation
type MigrationUp ¶
func (*MigrationUp) Register ¶
func (c *MigrationUp) Register()
func (*MigrationUp) Run ¶
func (c *MigrationUp) Run(kernel *kernel.HttpKernel, args string, console map[string]interface{})
type ModelCreate ¶
func (*ModelCreate) Register ¶
func (c *ModelCreate) Register()
func (*ModelCreate) Run ¶
func (c *ModelCreate) Run(kernel *kernel.HttpKernel, args string, console map[string]interface{})
type QueueFailed ¶
func (*QueueFailed) Register ¶
func (c *QueueFailed) Register()
func (*QueueFailed) Run ¶
func (c *QueueFailed) Run(kernel *kernel.HttpKernel, args string, console map[string]interface{})
Run jobs in Redis queue
type ServerDaemon ¶
func (*ServerDaemon) Register ¶
func (c *ServerDaemon) Register()
func (*ServerDaemon) Run ¶
func (c *ServerDaemon) Run(kernel *kernel.HttpKernel, args string, console map[string]interface{})
Run Go-Web as a daemon
type ShowCommands ¶
func (*ShowCommands) Register ¶
func (c *ShowCommands) Register()
func (*ShowCommands) Run ¶
func (c *ShowCommands) Run(kernel *kernel.HttpKernel, args string, console map[string]interface{})
Click to show internal directories.
Click to hide internal directories.