Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConfigDir the config directory ConfigDir string = "config" // ConfigFile the config file ConfigFile string = "site.json" // StatusDisabled disabled StatusDisabled int = 0 // StatusMaintenance maintenance StatusMaintenance int = 1 // StatusActive active StatusActive int = 2 // AuthPublic public AuthPublic int = 0 // AuthProtected protected AuthProtected int = 1 // AuthPrivate private AuthPrivate int = 2 // AuthAdmin admin AuthAdmin int = 3 // StaticPath the root path of static content StaticPath string = "/static" // SysPath the root path of system resources SysPath string = "/sys" // AdminPath the root path of administration area AdminPath string = "/gtwsadmin" // NodesDir the nodes root directory NodesDir string = "nodes" // ResourcesDir the resources root directory ResourcesDir string = "resources" // FragmentsDir the site fragments directory FragmentsDir string = "fragments" // ObjectsDir the objects root directory ObjectsDir string = "objects" // SiteScript the site script SiteScript string = "site.tgs" // NodeScript the node script NodeScript string = "node.tgs" // ProcScript the process-request script ProcScript string = "proc.tgs" // TemplateFile the node template TemplateFile string = "template.tpl" // ConfigRefreshPeriod default config refresh period ConfigRefreshPeriod time.Duration = 2 * time.Second // SiteRefreshPeriod default site refresh period SiteRefreshPeriod time.Duration = 2 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.