examples

module
v0.0.0-...-c4ecb5e Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2017 License: MIT

README

Examples

Build Status License CHANGELOG/HISTORY

This repository provides easy to understand code snippets on how to get started with web development with the Go programming language using the Iris web framework.

It doesn't contains "best ways" neither explains all its features. It's just a simple, practical cookbook for young Gophers!

Table of contents

Do not forget to star or watch the project in order to stay updated with the latest tech trends, it takes some seconds for the sake of go!

Examples are tested using Windows 7, Ubuntu 16.04 with LiteIDE.

Run

$ cd $GOPATH/src/github.com/iris-contrib/examples/overview
$ go run main.go

Support

http://support.iris-go.com

Older versions

Su, 04 June 2017

This repository is just a minor of the github.com/kataras/iris/[version or master]/_examples folder.

Directories

Path Synopsis
configuration
basic command
from-toml-file command
from-yaml-file command
functional command
convert-handlers
negroni-like command
nethttp command
custom-context
custom-httpserver
iris-way command
multi command
std-way command
basic command
graceful-shutdown
basic command
custom-host command
custom-notifier command
listening
custom-listener command
listen-addr command
listen-letsencrypt command
Package main provide one-line integration with letsencrypt.org
Package main provide one-line integration with letsencrypt.org
listen-tls command
listen-unix command
package main contains an example on how to use the ReadForm, but with the same way you can do the ReadJSON & ReadJSON
package main contains an example on how to use the ReadForm, but with the same way you can do the ReadJSON & ReadJSON
basic command
custom-wrapper command
dynamic-path command
overview command
reverse command
sessions
database command
flash-messages command
overview command
securecookie command
standalone command
subdomains
multi command
single command
Package main register static subdomains, simple as parties, check ./hosts if you use windows
Package main register static subdomains, simple as parties, check ./hosts if you use windows
wildcard command
Package main an example on how to catch dynamic subdomains - wildcard.
Package main an example on how to catch dynamic subdomains - wildcard.
www command
Package main shows how you can create a simple URL SHortener using only Iris and BoltDB.
Package main shows how you can create a simple URL SHortener using only Iris and BoltDB.
view
context-view-data command
this example will show you how you can set per-request data for a template outside of the main handler which calls the .Render, via middleware.
this example will show you how you can set per-request data for a template outside of the main handler which calls the .Render, via middleware.
overview command
template_html_0 command
template_html_1 command
template_html_2 command
template_html_3 command
Package main an example on how to naming your routes & use the custom 'url path' HTML Template Engine, same for other template engines.
Package main an example on how to naming your routes & use the custom 'url path' HTML Template Engine, same for other template engines.
template_html_4 command
Package main an example on how to naming your routes & use the custom 'url' HTML Template Engine, same for other template engines.
Package main an example on how to naming your routes & use the custom 'url' HTML Template Engine, same for other template engines.
websockets
connectionlist command
native-messages command
overview command
secure command

Jump to

Keyboard shortcuts

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