Documentation
¶
Index ¶
- Variables
- func Backoff(attempts int) time.Duration
- func Decrypt(text string) string
- func Encrypt(text string) string
- func ID() string
- func Load(data interface{}, file string, decrypt bool) error
- func Render(w http.ResponseWriter, tmpl string) error
- func Save(data interface{}, file string, encrypt bool) error
- func Serve(port int) error
- func Template(name, desc, nav, content string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache string
the file cache
View Source
var Home string
user home dir
View Source
var Key string
the secret key
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.