configuration

package
v3.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2017 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL