bootstrap

package
v0.0.0-...-076d96f Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2012 License: BSD-2-Clause-Views Imports: 7 Imported by: 0

Documentation

Overview

Package bootstrap enables you (or others) to fork other HypeCMS istances from your instance. Used at hypecms.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A

type A struct {
	// contains filtered or unexported fields
}

func Actions

func Actions(uni *context.Uni) *A

func (*A) DeleteSite

func (a *A) DeleteSite() error

func (*A) Ignite

func (a *A) Ignite() error

Example bootstrap options: // All keys listed here are required to be able to ignite a site.

{
 "default_must": false,
	"exec_abs": "c:/gowork/bin/hypecms",
	"host_format": "%v.hypecms.com",
	"max_cap": 500,
	"proxy_abs": "c:/jsonfile.json",
	"root_db": "hypecms",
	"table_key": "proxy_table"
}

func (*A) StartAll

func (a *A) StartAll() error

This function should be used only when neither of the processes are running, eg. when the server was restarted, or the forker process was killed, and all child processes died with it.

type H

type H struct {
	// contains filtered or unexported fields
}

func Hooks

func Hooks(uni *context.Uni) *H

func (*H) BeforeDisplay

func (h *H) BeforeDisplay()

func (*H) Install

func (h *H) Install(id bson.ObjectId) error

func (*H) Uninstall

func (h *H) Uninstall(id bson.ObjectId) error

type V

type V struct {
	// contains filtered or unexported fields
}

func Views

func Views(uni *context.Uni) *V

func (*V) Index

func (v *V) Index() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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