Documentation ¶
Index ¶
- Variables
- func EncAddr(addr, key string) string
- func GenLoginCredSalt() (salt string)
- func GetFilenameForBoardPage(webroot_dir, boardname string, pageno int, json bool) string
- func GetFilenameForBoards(webroot_dir string) string
- func GetFilenameForCatalog(webroot_dir, boardname string) string
- func GetFilenameForHistory(webroot_dir string) string
- func GetFilenameForIndex(webroot_dir string) string
- func GetFilenameForThread(webroot_dir, root_post_id string, json bool) string
- func GetFilenameForUkko(webroot_dir string) string
- func GetGroupAndPageHTML(file string) (board string, page int)
- func GetGroupForCatalogHTML(file string) (group string)
- func GetThreadHashHTML(file string) (thread string)
- func HashMessageID(msgid string) string
- func IPNet2MinMax(inet *net.IPNet) (min, max net.IP)
- func IsSage(str string) bool
- func IsSubnet(cidr string) (bool, *net.IPNet)
- func NewAddrEnc(addr string) (string, string)
- func NntpLoginCredHash(passwd, salt string) (str string)
- func TimeNow() int64
- func ZeroIPString(ip net.IP) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Discard = new(ioDiscard)
Functions ¶
func EncAddr ¶
xor address with a one time pad if the address isn't long enough it's padded with spaces
func GetFilenameForBoardPage ¶
func GetFilenameForBoards ¶
func GetFilenameForCatalog ¶
func GetFilenameForHistory ¶
func GetFilenameForIndex ¶
func GetFilenameForThread ¶
func GetFilenameForUkko ¶
func GetGroupAndPageHTML ¶
func GetGroupForCatalogHTML ¶
func GetThreadHashHTML ¶
func NewAddrEnc ¶
given an address generate a new encryption key for it return the encryption key and the encrypted address
func NntpLoginCredHash ¶
do nntp login credential hash given password and salt
func ZeroIPString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.