handler

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HomeHandler

func HomeHandler(ctx *gofr.Context) (interface{}, error)

HomeHandler renders home.html file Uses server push to give out the app.css file required by the home.html file

func ServeStatic

func ServeStatic(ctx *gofr.Context) (interface{}, error)

ServeStatic Renders the file present in /static folder

Types

type Person

type Person struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL