v0 source realm
Package erratabank records corrections, finder credit and book reward escrow.
Package erratabank records corrections, finder credit and book reward escrow.
1
16
func Accept
crossing ActionAccept credits the finder and pays the full reward when escrow covers it.
func AcceptedEntries
Actionfunc AcceptedEntriesPage
ActionAcceptedEntriesPage supports integrations that render a bounded page.
func CreateBook
crossing ActionCreateBook registers an open book and optionally credits inbound reward escrow.
func FinderStats
Actionfunc FundBook
crossing ActionFundBook credits a book with ugnot supplied by any direct caller.
func MarkDuplicate
crossing ActionMarkDuplicate links a pending report to an earlier accepted report in the same book.
func Reject
crossing ActionReject closes a pending submission without finder credit.
func Render
Render is the public Markdown entry point for gnoweb.
func SetBookOpen
crossing ActionSetBookOpen controls new submissions. Existing submissions remain reviewable.
func Submit
crossing ActionSubmit records a report. Increasing IDs break ties within a block.
func Withdraw
crossing ActionWithdraw returns unused escrow to the book owner.
func GetBook
Actionfunc ListBooks
Actionfunc GetErratum
Actionfunc ListErrata
ActionListErrata returns reports in submission order. An empty status selects all reports.