home

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct{}

func New

func New() *Controller

New is the constructor for the home page controller.

func (*Controller) Index

func (c *Controller) Index(ctx context.Context, req *v1.Req) (res *v1.Res, err error)

Index is the controller for the home page. is the handler for the home page GET "/:short"

Jump to

Keyboard shortcuts

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