Gerasimos Maropoulos
3243432d48
A small improvement to LETSENCRYPT and LETSENCRYPTPROD
...
just an improvement to the `LETSENCRYPT` in order to meet your needs,
it lets you configure the cache file to any directory or to disable it
by passing "" as the second argument.
**OUTLINE**
```
// ListenLETSENCRYPT starts a server listening at the specific nat
address
// using key & certification taken from the letsencrypt.org 's servers
// it's also starts a second 'http' server to redirect all
'http://$ADDR_HOSTNAME:80 ' to the' https://$ADDR '
// it creates a cache file to store the certifications, for performance
reasons, this file by-default is "./letsencrypt.cache"
// if you skip the second parameter then the cache file is
"./letsencrypt.cache"
// if you want to disable cache then simple pass as second argument an
empty emtpy string ""
//
// example:
https://github.com/iris-contrib/examples/blob/master/letsencyrpt/main.go
//
// supports localhost domains for testing,
// NOTE: if you are ready for production then use
`$app.Serve(iris.LETSENCRYPTPROD("mydomain.com"))` instead
ListenLETSENCRYPT(addr string, cacheFileOptional ...string)
```
**OVERVIEW**
```
package main
import "github.com/kataras/iris"
func main() {
iris.Get("/", func(ctx *iris.Context) {
ctx.Write("Hello from SECURE SERVER!")
})
iris.ListenLETSENCRYPT("mydomain.com", "./mycachefile.cache)
}
```
2016-10-28 21:21:57 +03:00
Gerasimos Maropoulos
7eb520fc6b
[2] Continue working on #513
2016-10-28 11:13:12 +03:00
Gerasimos Maropoulos
d32ae1377c
Implement Cache as https://github.com/kataras/iris/issues/513
...
I love coding unique Iris staff!!!
2016-10-27 03:17:09 +03:00
Gerasimos Maropoulos
ee9b153f6d
gofmted -s
2016-10-25 16:49:57 +03:00
Gerasimos Maropoulos
78d145c207
Introduce version 5.0.1
2016-10-25 15:58:18 +03:00
Gerasimos Maropoulos
5c896b39a5
V4 LTS, check the HISTORY.md
2016-10-21 03:06:50 +03:00
Gerasimos Maropoulos
9bbbbf6769
StaticEmbedded: Do the actual work if cache duration passed
...
For StaticEmbedded example take a look at the HISTORY.md file
2016-10-17 04:43:31 +03:00
Gerasimos Maropoulos
1a913d45d4
Implement feature request for embedded assets
...
Example:
https://github.com/iris-contrib/examples/tree/master/static_files_embedded
Read HISTORY.md
2016-10-17 03:37:57 +03:00
Gerasimos Maropoulos
ee5dff96e3
For v4.6.0 - Remove unused testFramework from the previous commit
...
Read HISTORY.md for changes:
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-10-13 17:28:23 +03:00
Gerasimos Maropoulos
157e3cf054
Push version 4.6.0, read HISTORY.md
...
Real commit is the parent, as usual
2016-10-13 17:25:50 +03:00
Gerasimos Maropoulos
122aab4083
Update to 4.6.0, read HISTORY.md
...
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-10-13 17:25:01 +03:00
Gerasimos Maropoulos
f2a7b4e43a
Update to 5.4.3, zero user changes.
2016-10-13 04:02:04 +03:00
Gerasimos Maropoulos
9bce4e846a
Update to 4.5.2
2016-10-11 22:35:12 +03:00
Gerasimos Maropoulos
40b000c20f
Update to 4.5.1
2016-10-11 14:10:19 +03:00
Gerasimos Maropoulos
f66b7e2eab
Update to 4.5.0
2016-10-09 21:09:53 +03:00
Gerasimos Maropoulos
14982891c5
Update to 4.4.9
2016-10-09 07:47:27 +03:00
Gerasimos Maropoulos
a000da35c3
Update to 4.4.8 - Custom decoders for ReadJSON/ReadXML, read HISTORY.md
...
Read: https://github.com/kataras/iris/blob/master/HISTORY.md
2016-10-06 23:19:55 +03:00
Gerasimos Maropoulos
bffd2074eb
Update to 4.4.7
2016-10-05 13:21:40 +03:00
Gerasimos Maropoulos
2090eb4d83
Update to 4.4.6
2016-10-04 01:18:17 +03:00
Gerasimos Maropoulos
f39b6c4bfb
DONATIONS update summary
2016-10-03 17:23:53 +03:00
Gerasimos Maropoulos
fe4b8bd7d2
Fix https://github.com/kataras/iris/issues/455 occurs from last changes
2016-10-02 07:28:36 +03:00
Gerasimos Maropoulos
3970804a37
Update to 4.4.4
2016-10-02 07:21:44 +03:00
Gerasimos Maropoulos
78f3323ce4
Update to 4.4.3
2016-10-02 03:30:37 +03:00
Gerasimos Maropoulos
716b5001da
Fix https://github.com/iris-contrib/middleware/issues/13
2016-09-30 18:48:48 +03:00
Gerasimos Maropoulos
5e7975d97f
Able to change logger's prefix and output after configuration
2016-09-30 14:02:03 +03:00
Gerasimos Maropoulos
c2144a83c6
Update DONATIONS.md summary
2016-09-29 20:17:42 +03:00
Gerasimos Maropoulos
f4b4dd0275
Implementation of https://github.com/kataras/iris/issues/412 , as requested. Read HISTORY for a code snippet
2016-09-29 17:05:22 +03:00
Gerasimos Maropoulos
5c98c5a493
Update to v4.4.0 Implementation of https://github.com/kataras/iris/issues/438
...
Read HISTORY.md
2016-09-27 16:28:38 +03:00
Gerasimos Maropoulos
60947d4f21
Update to 4.3.0, align with latest kataras/go-websocket
2016-09-20 10:15:45 +03:00
Gerasimos Maropoulos
f33053675c
Update to 4.2.9
2016-09-19 01:48:37 +03:00
Gerasimos Maropoulos
7882d736b5
Update to 4.2.8
2016-09-19 01:42:37 +03:00
Gerasimos Maropoulos
d00bd8e595
nothing special here
2016-09-18 21:57:15 +03:00
Gerasimos Maropoulos
4eee3e5f53
Export the funcs: AcquireCtx and ReleaseCtx, see previous commit for more
2016-09-18 07:21:35 +03:00
Gerasimos Maropoulos
131eddb701
Ability to change the whole default router
2016-09-18 06:55:44 +03:00
Gerasimos Maropoulos
27f2ba7be9
Update DONATIONS.md summary & iris updater runs async unless CheckForUpdatesSync is true
2016-09-18 00:50:10 +03:00
Gerasimos Maropoulos
e24d45f66a
Update to 4.2.5
2016-09-16 21:16:48 +03:00
Gerasimos Maropoulos
3915aa4361
cover the default station's upate( https://github.com/kataras/iris/issues/401 ) action
2016-09-16 10:25:56 +03:00
Gerasimos Maropoulos
c818b9d4bf
Implement a version checker, as requested here: https://github.com/kataras/iris/issues/401
...
Read the README.md
2016-09-16 10:02:18 +03:00
Gerasimos Maropoulos
741ecbf2fb
https://github.com/kataras/iris/issues/423
2016-09-15 18:59:27 +03:00
Gerasimos Maropoulos
7ea334812f
Align with the latest go-sessions
2016-09-13 07:54:44 +03:00
Gerasimos Maropoulos
787425e5c5
Donations Summary Update and a small fix
2016-09-12 23:25:17 +03:00
Gerasimos Maropoulos
97431f2650
Replace response engines with serializers, same job but organized better, read README.md , no front-end changes if you used default engines.
2016-09-10 07:23:02 +03:00
Gerasimos Maropoulos
f561b7a90d
Update to 4.2.0 - Configuration changes (big but old way still works, naming changes) & Implement https://github.com/kataras/iris/issues/409
2016-09-09 08:09:03 +03:00
Gerasimos Maropoulos
1a7c79db66
Update to 4.1.7. Logger changes, read HISTORY.md
2016-09-07 07:36:23 +03:00
Gerasimos Maropoulos
a073e442fc
Align sessions with the latest kataras/go-sessions. Now you should update :)
2016-09-05 13:08:32 +03:00
Gerasimos Maropoulos
1537a657c0
Nothing really special, but tests seems to match better with old-style .New() on contextPool although I though that was the same thing...
2016-09-05 12:10:45 +03:00
Gerasimos Maropoulos
482c108839
Remove unused Plugin's custom callbacks.
2016-09-05 03:56:28 +03:00
Gerasimos Maropoulos
27e21d2685
(from previous commit) fix sessions init when UseDatabaseDB before session manager
2016-09-04 22:09:54 +03:00
Gerasimos Maropoulos
b8b52ad46e
Update to 4.1.4. Users & Devs can ignore this update. Read HISTORY.md for more
2016-09-04 22:02:31 +03:00
Gerasimos Maropoulos
c38a9b2459
Developers can ignore this update. Replace the template engines with a new cross-framework package (kataras/go-template)
2016-09-02 06:05:44 +03:00