Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a thread-safe in-memory store for challenges, rebuilt on each Git push.
func (*Store) List ¶
func (s *Store) List() []*challenges.Challenge
func (*Store) Rebuild ¶
func (s *Store) Rebuild(cc []*challenges.Challenge)
Rebuild atomically replaces the full challenge set.
Click to show internal directories.
Click to hide internal directories.