mixed

command
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

README

mixed

  • example using a gizmo/server.MixedService with a gizmo/server.SimpleServer.
  • one endpoint will serve JSON of the most popular NYT articles and another will serve an HTML page listing recent articles in The New York Times about 'cats'.
  • this example is very similar to the simple example, but makes use of the available JSONMiddleware method in a gizmo/server.MixedService.

The config in this example is loaded via a local JSON file and a custom config struct that is composed of a gizmo/config.Server struct.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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