Documentation
¶
Overview ¶
Package server exposes the HTTP API for the postmortems site.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompanySlug ¶
CompanySlug turns a company name into a URL-safe slug for /company/{slug}.
func LoadPostmortem ¶
func LoadPostmortem(dir, filename string) (*postmortems.Postmortem, error)
LoadPostmortem reads a single postmortem from dir.
func LoadPostmortems ¶
func LoadPostmortems(dir string) ([]*postmortems.Postmortem, error)
LoadPostmortems reads every postmortem under dir.
Types ¶
Click to show internal directories.
Click to hide internal directories.