examples/

directory
v0.0.0-...-58fa5b2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: Apache-2.0

README

examples

import "github.com/ardanlabs/kit/examples"

Set of examples to show how to use the different packages in the kit.

web

An example web services using a set of the kit packages.

runner

An example task using the runner package.

pool

An example task using the pool package.

tcp

An example task using the tcp package.

Directories

Path Synopsis
Sample program to show how to use the mapstructure package to handle large JSON documents and flatten them out.
Sample program to show how to use the mapstructure package to handle large JSON documents and flatten them out.
Sample program to show how to use the pool package to build pools of goroutines to get work done.
Sample program to show how to use the pool package to build pools of goroutines to get work done.
Sample program to show how to use the runner package to build tasks that must run within a well defined duration.
Sample program to show how to use the runner package to build tasks that must run within a well defined duration.
Sample program to show how to use the tcp package to build servers that can accept tcp connections and send messages.
Sample program to show how to use the tcp package to build servers that can accept tcp connections and send messages.
Sample program to show how to use the udp package to build servers that can accept udp connections and send messages.
Sample program to show how to use the udp package to build servers that can accept udp connections and send messages.
web
cmd/app
This program provides a sample web service that implements a RESTFul CRUD API against a MongoDB database.
This program provides a sample web service that implements a RESTFul CRUD API against a MongoDB database.
cmd/app/handlers
Package handlers contains the handler logic for processing requests.
Package handlers contains the handler logic for processing requests.

Jump to

Keyboard shortcuts

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