Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryPlayerStore ¶
type InMemoryPlayerStore struct {
// contains filtered or unexported fields
}
func NewInMemoryPlayerStore ¶
func NewInMemoryPlayerStore() *InMemoryPlayerStore
func (*InMemoryPlayerStore) GetScore ¶
func (i *InMemoryPlayerStore) GetScore(name string) int
func (*InMemoryPlayerStore) IncrementScore ¶
func (i *InMemoryPlayerStore) IncrementScore(name string)
type PlayerServer ¶
type PlayerServer struct {
Store PlayerStore
}
func (*PlayerServer) ServeHTTP ¶
func (p *PlayerServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PlayerStore ¶
Click to show internal directories.
Click to hide internal directories.