func NewController(bk *buckets.Bucket) *Controller {
	prefix := map[string]*buckets.PrefixScanner{
		"/mon": bk.NewPrefixScanner([]byte("/mon")),
		"/tue": bk.NewPrefixScanner([]byte("/tue")),
		"/wed": bk.NewPrefixScanner([]byte("/wed")),
		"/thu": bk.NewPrefixScanner([]byte("/thu")),
		"/fri": bk.NewPrefixScanner([]byte("/fri")),
		"/sat": bk.NewPrefixScanner([]byte("/sat")),
		"/sun": bk.NewPrefixScanner([]byte("/sun")),
	}
	return &Controller{bk, prefix}
}
// NewController initializes a new instance of our controller.
// It provides handler methods for our router.
NewController initializes a new instance of our controller.
It provides handler methods for our router.
// NewController initializes a new instance of our controller . // It provides handler methods for our router .
func NewController(bk *buckets.Bucket) *Controller {
	prefix := map[string]*buckets.PrefixScanner{
		"/mon": bk.NewPrefixScanner([]byte("/mon")),
		"/tue": bk.NewPrefixScanner([]byte("/tue")),
		"/wed": bk.NewPrefixScanner([]byte("/wed")),
		"/thu": bk.NewPrefixScanner([]byte("/thu")),
		"/fri": bk.NewPrefixScanner([]byte("/fri")),
		"/sat": bk.NewPrefixScanner([]byte("/sat")),
		"/sun": bk.NewPrefixScanner([]byte("/sun")),
	}
	return &Controller{bk, prefix}
}
func NewController ( bk * buckets . Bucket ) * Controller { prefix := map [ string ] * buckets . PrefixScanner { " " : bk . NewPrefixScanner ( [ ] byte ( " " ) ) , " " : bk . NewPrefixScanner ( [ ] byte ( " " ) ) , " " : bk . NewPrefixScanner ( [ ] byte ( " " ) ) , " " : bk . NewPrefixScanner ( [ ] byte ( " " ) ) , " " : bk . NewPrefixScanner ( [ ] byte ( " " ) ) , " " : bk . NewPrefixScanner ( [ ] byte ( " " ) ) , " " : bk . NewPrefixScanner ( [ ] byte ( " " ) ) , } return & Controller { bk , prefix } }
NewController initializes a new instance of our controller.
NewController initializes a new instance of our controller .