_examples/

directory
v10.6.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2018 License: BSD-3-Clause

Directories ΒΆ

Path Synopsis
apidoc
yaag command
authentication
basicauth command
oauth2 command
cache
client-side command
Package main shows how you can use the `WriteWithExpiration` based on the "modtime", if it's newer than the request header then it will refresh the contents, otherwise will let the client (99.9% the browser) to handle the cache mechanism, it's faster than iris.Cache because server-side has nothing to do and no need to store the responses in the memory.
Package main shows how you can use the `WriteWithExpiration` based on the "modtime", if it's newer than the request header then it will refresh the contents, otherwise will let the client (99.9% the browser) to handle the cache mechanism, it's faster than iris.Cache because server-side has nothing to do and no need to store the responses in the memory.
simple command
configuration
from-toml-file command
from-yaml-file command
functional command
convert-handlers
negroni-like command
nethttp command
cookies
basic command
securecookie command
experimental-handlers
casbin/wrapper command
cors/simple command
csrf command
This middleware provides Cross-Site Request Forgery protection.
This middleware provides Cross-Site Request Forgery protection.
jwt command
iris provides some basic middleware, most for your learning courve.
iris provides some basic middleware, most for your learning courve.
newrelic/simple command
secure/simple command
file-server
basic command
favicon command
send-files command
hero
basic command
overview command
http-listening
custom-listener command