Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_BODY_SIZE = 2217
View Source
const MAX_KEY_64 = (1 << 64) - 1
Variables ¶
View Source
var ( // For the convenience of server implementers, the <time> element must fit // the following format exactly; "valid HTML" is not sufficient: // <time datetime="YYYY-MM-DDTHH:MM:SSZ"> TIME_RE = regexp.MustCompile("<time datetime=\".{19}Z\">") )
Functions ¶
func InitCleaner ¶
initCleaner starts a goroutine that will delete any expired entries every 5 minutes
func InitRuntimeValues ¶
Types ¶
type Spring83Server ¶
type Spring83Server struct {
// contains filtered or unexported fields
}
func NewSpring83Server ¶
func NewSpring83Server(db *sql.DB, log zerolog.Logger) *Spring83Server
func (*Spring83Server) Options ¶
func (s *Spring83Server) Options(w http.ResponseWriter, r *http.Request)
func (*Spring83Server) ServeHTTP ¶
func (s *Spring83Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.