func FromContext(ctx *engine.Context) (*Client, bool) { cfg, ok := ctx.Value(ctxKey).(*Client) return cfg, ok }
func FromContext(ctx *engine.Context) (Config, bool) { cfg, ok := ctx.Value(ctxKey).(Config) return cfg, ok }