Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Version string
HTTP struct {
Listen string
Port int
RateLimiter string
}
RateLimiter struct {
Limit string
Prefix string
}
Redis struct {
Address string // takes env variable
Username string // takes env variable
Password string // takes env variable
DB int
}
}
func (Config) HTTPAddress ¶
type ContainerInfo ¶
type HTTPRequest ¶
type HTTPRequest struct {
Gin *gin.Context
Ctx *ParserContext
}
type ParserContext ¶
type Task ¶
type Task struct {
Name string
Cron string
Exec func(ctx *ParserContext)
}
Click to show internal directories.
Click to hide internal directories.