Documentation ¶
Index ¶
Constants ¶
View Source
const ( BIPLink = "https://github.com/bitcoin/bips/blob/master/bip-%04d.mediawiki" SLIPLink = "https://github.com/satoshilabs/slips/blob/master/slip-%04d.md" )
View Source
const ( BOLT = 73738971 BIP = 14531737 SLIP = 50844973 )
View Source
const (
NoReleaseForProjectTreshold = 10
)
Variables ¶
View Source
var ( ReBIP = regexp.MustCompile(`bips?[\s-]*(?P<bipId>[0-9]+)`) ReBOLT = regexp.MustCompile(`bolt?[\s-]*(?P<boltId>[0-9]+)`) ReSLIP = regexp.MustCompile(`slips?[\s-]*(?P<slipId>[0-9]+)`) )
Functions ¶
func GetRFCNumber ¶
Types ¶
type FormatHandler ¶
type FormatHandler interface { FetchSince(url string, time time.Time) ([]*posts.Post, error) JobHandler // Also implements a job handler }
func GetFormatHandler ¶
func GetFormatHandler(feed feeds.Feed) FormatHandler
func NewGHReleaseHandler ¶
func NewGHReleaseHandler() FormatHandler
func NewRFCHandler ¶
func NewRFCHandler() FormatHandler
func NewRSSHandler ¶
func NewRSSHandler() FormatHandler
type GHRelease ¶
type GHRelease struct { ProjectID int64 `json:"project_id"` ReleaseID int64 `json:"release_id"` TagID string `json:"tag_id"` Name string `json:"name"` IsTagOnly bool `json:"is_tag_only"` Date time.Time `json:"commit_date"` TarBall string `json:"tar_ball"` Link string `json:"link"` Owner string `json:"owner"` Repo string `json:"repo"` }
type GHReleaseHandler ¶
type GHReleaseHandler struct {
// contains filtered or unexported fields
}
func (GHReleaseHandler) FetchSince ¶
type JobHandler ¶
type RFCHandler ¶
type RFCHandler struct {
// contains filtered or unexported fields
}
func (RFCHandler) FetchSince ¶
type RSSHandler ¶
type RSSHandler struct {
// contains filtered or unexported fields
}
func (RSSHandler) FetchSince ¶
Click to show internal directories.
Click to hide internal directories.