Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
cookier
module
|
|
internal
|
|
www
http server for sif.io
|
http server for sif.io |
pkg
|
|
cookier
example: key := "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" // 64 hex chars ec := cookier.Encode(key, cookier.Cookie{time.Now().Unix() + 3600, "{\token\":\"123\"}"}) dc, _ := cookier.Decode(key, ec) // ignoring err and expiration err json.Unmarshal(dc.Value, &s) // ignoring err
|
example: key := "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" // 64 hex chars ec := cookier.Encode(key, cookier.Cookie{time.Now().Unix() + 3600, "{\token\":\"123\"}"}) dc, _ := cookier.Decode(key, ec) // ignoring err and expiration err json.Unmarshal(dc.Value, &s) // ignoring err |
smtp
module
|
Click to show internal directories.
Click to hide internal directories.