Documentation
¶
Index ¶
Constants ¶
View Source
const ( UNIX_TRANSPORT TransportType = iota TCP_TRANSPORT = iota LOCAL_TRANSPORT = iota )
Currently we support UNIX and TCP sockets as well as a special loopback socket.
View Source
const ( WEB_SERVER_STARTED = iota // Receive from web server's io when it is fully initalized and ready to receive requests. WEB_SERVER_STOP // Send on web server's io chan to shut it down. WEB_SERVER_STOPPED // Receive from web server's io when shutdown is complete. WEB_SERVER_ERR TRACKER_SERVER_START TRACKER_SERVER_ERR )
web server constants
View Source
const (
TRACKER_ANNOUNCE_INTERVAL int = 300
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppSettings ¶
type AppSettings struct {
Debug bool // Print debug messages
WebStack bool // Enable the web-stack
TrackerStack bool // Enable the tracker-stack
FullStack bool // Enable all stacks. (Single binary mode.)
WebPort int // Port the web-stack will listen on
TrackerPort int // Port the track-stack will listen on
WebHost string // Hostname of the web-server, used for generating URLs
TrackerHost string //Hostname of tracker, used for generating URLs.
Bridge *TransportSettings // Local bridge
BridgePeers []*TransportSettings // Remote bridges
DbOpen string
ConfigPath string
}
type TransportSettings ¶
type TransportSettings struct {
Transport TransportType
Socket string // if applicable
Port int // if applicable
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Exposes a connection to the underlying PostgreSQL RDBMS.
|
Exposes a connection to the underlying PostgreSQL RDBMS. |
|
An implementation of the gorilla/sessions#Store interface for `babou`
|
An implementation of the gorilla/sessions#Store interface for `babou` |
|
The `babou` web application core
|
The `babou` web application core |
Click to show internal directories.
Click to hide internal directories.