Documentation
¶
Overview ¶
Package server provides a restful TCP interface to manage bingo games and boards.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // HTTPSRedirect causes the server to run a redirect from HTTPPORT to HTTPSPort when set HTTPSRedirect bool // HTTPPort is the HTTP port the server runs on. HTTPPort string // HTTPSPort is the HTTPS port the server runs on. HTTPSPort string // TLSCertFile is the public HTTPS TLS certificate file name. TLSCertFile string // TLSKeyFile is the private HTTPS TLS key file name. TLSKeyFile string // GameCount is the number of game states kept in the game list. GameCount int // Time is a function that can add a timestamp to parts of the site. Time func() string }
Config is used to create a server.
Click to show internal directories.
Click to hide internal directories.