]> Sergey Matveev's repositories - godlighty.git/blob - rc/cryptoanarchy.ru.go
Built-in MIMEs compression capability
[godlighty.git] / rc / cryptoanarchy.ru.go
1 package rc
2
3 import (
4         "net/http"
5
6         "go.stargrave.org/godlighty"
7 )
8
9 func init() {
10         godlighty.Hosts["www.cryptoanarchy.ru"] = &godlighty.HostCfg{
11                 Hooks: []godlighty.Hook{
12                         func(w http.ResponseWriter, r *http.Request) bool {
13                                 http.Redirect(
14                                         w, r,
15                                         "//www.cypherpunks.ru/Manifesto-cryptoanarchist.html",
16                                         http.StatusTemporaryRedirect,
17                                 )
18                                 return true
19                         },
20                 },
21         }
22 }