keylib

package
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2017 License: BSD-3-Clause Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDatkey

func GetDatkey(filekey string) (int64, error)

GetDatkey returns stamp from filekey. if not found, tries to read from cache.

func GetFilekey

func GetFilekey(nDatkey int64) string

GetFilekey returns value from datkey(stamp).

func Load

func Load()

Load loads from the file, adds stamps/datfile pairs from cachelist and recentlist. and saves to file.

func MakeBody

func MakeBody(rec *record.Record, host, board string, table *mch.ResTable) string

MakeBody makes a dat body(message) line after stamp.

func MakeBracketLink(body, datHost, board string, table *mch.ResTable) string

MakeBracketLink changes str in brackets to the html links format.

func MakeDat

func MakeDat(ca *thread.Cache, board, host string) []string

MakeDat makes dat lines of 2ch from cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL