Documentation ¶
Index ¶
Constants ¶
const DBDSN string = `root@unix(/var/lib/mysql/mysql.sock)/tsubonesystem`
DBDSN is the string of the DSN which refers to the databse for TsuboneSystem.
It should be understood by go-sql-driver. See the following. https://github.com/go-sql-driver/mysql#dsn-data-source-name
const DBPasswordKey string = `XXXXXXXXXXXXXXXXXXXXXXXXXXXX`
DBPssswordKey is the string of the key to encrypt password in the database. Its length should be 128 and it must be cryptographically random.
For example: openssl rand 128 -hex | sed 's/\(..\)/\\x\1/g'
Set the following value for testing.
const FcgiListenAddress string = `/var/lib/tsubonesystem3/tsubonesystem3.sock`
FcgiListenAddress is the string of the address which tsubonesystem3_fcgi command should listen to.
It should be understood by net.Listen; see the following. https://golang.org/pkg/net/#Listen.
const FcgiListenNet string = `unix`
FcgiListenNet is the string of the network which tsubonesystem_fcgi command should listen to.
It should be understood by net.Listen; see the following. https://golang.org/pkg/net/#Listen.
const ListenAddress string = `localhost:8000`
ListenAddress is the string of the address which tsubonesystem3 command should listen to.
It should be understood by net.Listen; see the following. https://golang.org/pkg/net/#Listen.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.