Documentation ¶
Index ¶
- func NewAdminBlueprint(appConfig config.AppConfig, placeholderManager common.PlaceholderManager, ...) *adminBlueprint
- func NewAssetBlueprint(localAssetStoragePath string, ...) *assetBlueprint
- func NewSimpleBlueprint(edgeContentHost string, renderAgentManager *render.RenderAgentManager, ...) (*simpleBlueprint, error)
- func NewStaticBlueprint(placeholderManager common.PlaceholderManager) *staticBlueprint
- type Blueprint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdminBlueprint ¶
func NewAdminBlueprint(appConfig config.AppConfig, placeholderManager common.PlaceholderManager, temporaryFileManager common.TemporaryFileManager) *adminBlueprint
NewAdminBlueprint creates a new adminBlueprint object.
func NewAssetBlueprint ¶
func NewAssetBlueprint( localAssetStoragePath string, sourceAssetStorageManager common.SourceAssetStorageManager, generatedAssetStorageManager common.GeneratedAssetStorageManager, templateManager common.TemplateManager, placeholderManager common.PlaceholderManager) *assetBlueprint
NewAssetBlueprint creates, configures and returns a new blueprint. This structure contains the state and HTTP controllers used to serve assets.
func NewSimpleBlueprint ¶
func NewSimpleBlueprint( edgeContentHost string, renderAgentManager *render.RenderAgentManager, sourceAssetStorageManager common.SourceAssetStorageManager, generatedAssetStorageManager common.GeneratedAssetStorageManager, templateManager common.TemplateManager, placeholderManager common.PlaceholderManager, supportedFileTypes map[string]int64) (*simpleBlueprint, error)
NewSimpleBlueprint creates a new simpleBlueprint object.
func NewStaticBlueprint ¶
func NewStaticBlueprint(placeholderManager common.PlaceholderManager) *staticBlueprint
Types ¶
type Blueprint ¶
type Blueprint interface { // ConfigureMartini configures martini with the HTTP handlers provided by the blueprint. ConfigureMartini(m *martini.ClassicMartini) error }
Blueprint structures represent collections of HTTP handlers that can be configured to hook into martini.
Click to show internal directories.
Click to hide internal directories.