hello

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cli.Command{
	Name: "hello",
	Action: func(context *cli.Context) error {

		app.Route("/", &hello{})
		app.Route("/hello", &hello{})
		app.RunWhenOnBrowser()

		http.Handle("/", &app.Handler{
			Name:        "Hello",
			Description: "An Hello World! example",
		})

		http.ListenAndServe(":8088", nil)
		return nil
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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