Navigate
Use SendNavigate()
to redirect to a different location with status 302
.
package handlers
import "github.com/razshare/frizzante/frz"
func Hello(c *frz.Connection) { c.SendNavigate("/login") // Redirects to /login // with status 302}