Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig interface {
// Common returns common configuration.
Common() CommonAppConfig
// Http returns HTTP configuration.
Http() HttpAppConfig
// Storage returns storage configuration.
Storage() StorageAppConfig
// ImageMagickRenderer returns ImageMagick render agent configuration.
ImageMagickRenderAgent() ImageMagickRenderAgentAppConfig
// DocumentRenderAgent returns Document render agent configuration.
DocumentRenderAgent() DocumentRenderAgentAppConfig
// SimpleApi returns SimpleBlueprint configuration.
SimpleApi() SimpleApiAppConfig
AssetApi() AssetApiAppConfig
Uploader() UploaderAppConfig
Downloader() DownloaderAppConfig
Source() string
}
AppConfig represents the configuration collections for the preview application.
func LoadAppConfig ¶
func NewDefaultAppConfig ¶
func NewUserAppConfig ¶
type AssetApiAppConfig ¶
type AssetApiAppConfig interface {
Enabled() bool
}
type CommonAppConfig ¶
type DownloaderAppConfig ¶
type HttpAppConfig ¶
type HttpAppConfig interface {
Listen() string
}
type SimpleApiAppConfig ¶
type StorageAppConfig ¶
Click to show internal directories.
Click to hide internal directories.