Documentation ¶
Index ¶
- func Handle(r *gin.Engine, envy *Environment)
- type Environment
- func (envy *Environment) CheckID(c *gin.Context)
- func (envy *Environment) CreateID(c *gin.Context)
- func (envy *Environment) FrontendRedirect(c *gin.Context)
- func (envy *Environment) Healthcheck(c *gin.Context)
- func (envy *Environment) Hostname(c *gin.Context)
- func (envy *Environment) Redirect(c *gin.Context)
- type HealthCheck
- type Host
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handle ¶
func Handle(r *gin.Engine, envy *Environment)
Types ¶
type Environment ¶
type Environment struct { CTX *context.Context Settings *structs.Settings KV *redis.RedisConn DB *mongo.MongoConn Logger *zap.Logger Container string }
func (*Environment) CheckID ¶
func (envy *Environment) CheckID(c *gin.Context)
func (*Environment) CreateID ¶
func (envy *Environment) CreateID(c *gin.Context)
func (*Environment) FrontendRedirect ¶
func (envy *Environment) FrontendRedirect(c *gin.Context)
func (*Environment) Healthcheck ¶
func (envy *Environment) Healthcheck(c *gin.Context)
func (*Environment) Hostname ¶
func (envy *Environment) Hostname(c *gin.Context)
func (*Environment) Redirect ¶
func (envy *Environment) Redirect(c *gin.Context)
type HealthCheck ¶
type HealthCheck struct {
Health string `bson:"health"`
}
Click to show internal directories.
Click to hide internal directories.